Re: Resources Issue

From: Date: Tue, 16 Sep 2008 10:50:01 +0000
Subject: Re: Resources Issue
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-280269@lists.php.net to get a copy of this message
2008/9/15 Merca, Ansta Ltd <merca@ansta.co.uk> > Hi everyone, > > I'm getting "Fatal error: Allowed memory size of 25165824 bytes exhausted" > - when I'm trying to upload 1.84MB image and resize it to 400x300px. > > If the file is smaller it works fine, but with higher resolution images it > returns me this error. > > I'm building the website on local testing server with PHP5 (24M Memory > allocated). > > I've tried to increase memory, but it does not react to more than 32M (if I > allocate 64M - it just stays with 32M error - 33554432 bytes exhausted), any > suggestions? Or it will be fine on the live server? > > Thanks, > > Merca > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > If using GD Library, try using imagemagick instead as 'apparently' it's less memory hungry! I've not personally found this though but I vaguely remember reading it somewhere. HTH

« previous php.general (#280269) next »