ZenphotoCMS Forum
PHP Fatal errors after upgrade - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: PHP Fatal errors after upgrade (/thread-13452.html)

Pages: 1 2


PHP Fatal errors after upgrade - sbillard - 2020-09-30

I just instrumented the theme rout index.php script to output the memory_get_peak_usage() value after the page has loaded. Comes out to about 2.5mb for most pages in the basic theme. Should fit comfortably in 128 mb.

But, if you are caching images, there will be scripts running parallel that may take a bunch of memory if your images are large.




PHP Fatal errors after upgrade - acrylian - 2020-09-30

Yes, it's most of the time the images respectively their processing causing memory trouble. And to remind "large"does not refer to the file size but to the dimensions.