RE: Resources Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would start by trying to narrow down where the error is occurring. In the
upload process or in the resizing process? Setup your php error handling to
throw an exception so you can get a full stack trace of what's going on.  

Tom Shaw

-----Original Message-----
From: Merca, Ansta Ltd [mailto:merca@xxxxxxxxxxx] 
Sent: Monday, September 15, 2008 10:39 AM
To: php-general@xxxxxxxxxxxxx
Subject: Re:  Resources Issue

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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux