Referencing bug 400.
http://code.google.com/p/nextgen-gallery/issues/detail?id=400
In lib/gd.thumbnail.inc.php @ line 235 you get the memory limit. However, if
-1 is specified, it fails.
http://www.php.net/manual/en/ini.core.php#ini.memory-limit
"This sets the maximum amount of memory in bytes that a script is allowed to
allocate. This helps prevent poorly written scripts for eating up all available
memory on a server. Note that to have no memory limit, set this directive to
-1."
When -1 is called, calling memory_get_peak_usage
(http://www.php.net/manual/en/function.memory-get-peak-usage.php) would
PROBABLY be the best solution.
Hope this helps!
Original issue reported on code.google.com by phpmails...@gmail.com on 22 Aug 2011 at 11:58
Original issue reported on code.google.com by
phpmails...@gmail.com
on 22 Aug 2011 at 11:58