mariovaldez.net
http://www.mariovaldez.net/webapps/forums/

Generating Thmubnails does not work
http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=3&t=40
Page 1 of 1

Author:  netoli [ 02 Jul 2003, 09:11 ]
Post subject:  Generating Thmubnails does not work

I did an upload of a picture (small jpg) and wanted to create a thumbnail. Then I get the following error message:

Fatal error: Allowed memory size of 10492256 bytes exhausted at (null):0 (tried to allocate 6400 bytes) in ..../phprojekt/cm/cm_lib.inc.php on line 923

Author:  mvaldez [ 05 Jul 2003, 04:59 ]
Post subject:  Error in graphic functions...

Netoli:

> I did an upload of a picture (small jpg) and
> wanted to create a thumbnail. Then I get
> the following error message: Fatal error:
> Allowed memory size of 10492256 bytes
> exhausted at (null):0 (tried to allocate 6400
> bytes) in ..../phprojekt/cm/cm_lib.inc.php
> on line 923

Hi. That error means the php script exhausted all the memory allowed to it while processing the image. That shouldn't happen even with very large images.

So, I have some questions:
Does this error happens only with that image or with any image?
Does that image is special (does it have a gamma channel, is jpeg2000, or something else)?
Does the error always shown the same line number (line 923) or it changes if you retry?
What version of PHP are you using?
Do you know the version of the GD library you use?

Regards,

Mario A. Valdez-Ramirez.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/