Re: Resources Issue

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

 



2008/9/15 Merca, Ansta Ltd <merca@xxxxxxxxxxx>

> 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

[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