Reply to Re: imagecreatefromjpeg problem

Your name:

Reply:


Posted by Peter van Schie on 07/14/05 01:44

steve park wrote:
>
>
> The error is coming when the class calls the imagecreatefromjpeg() function,
> and the specific error is
>
> Fatal error: Allowed memory size of 29360128 bytes exhausted (tried to
> allocate 8652 bytes) in <servername>/resize.php on line 51

Hi Steve,

You could try to get around this by adding a line like:

ini_set("memory_limit","30M");

at the top of your script.
Upgrading PHP or GD won't solve this problem. It's just a sign that the
resize script is pretty inefficient with memory. ;)
HTH.

--
http://www.phpforums.nl

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация