You are here: Consumption of memory « All PHP « IT news, forums, messages
Consumption of memory

Posted by Marcos on 10/10/23 11:22

Hi, :)

I have one script in php that work fine creating thumbnails of any image,
but now I have that to create images from big images, with 1,5MB, then I
had one bad
message saying that my limit of memory is of 8MB.

Using the memory_get_usage, and set to 50 MB the memory_limit in php.ini.
I could see that my script use 40 MB to create one thumbnail
Using ImageCreateFromJPEG()) of one image with 1,5MB, this is correctly?


Any Suggestion to save the use of the memory?
--

Thanks,

Marcos José Setim
________________________________________
Usando o M2 do Opera: http://www.opera.com/m2/

 

Navigation:

[Reply to this 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

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