dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on January 13, 2018, 04:54:07 PM

Title: Image Processing Memory Limit
Post by: Chip on January 13, 2018, 04:54:07 PM
http://custom.simplemachines.org/mods/index.php?mod=4111

This modification adds a extra option to the modification settings that allows forum administrators to tweak the server memory limit during image manipulation in the SMF thumbnail system.

It also checks to see if the memory requested is given to the image process, if not then the script just returns. This should prevent issues with 500 internal server errors due to memory exhaustion.

Please be aware that file size has nothing to do with the amount of memory you need to create a thumbnail. A image has to be decompressed into memory and each pixel sampled. To figure out memory requirements in MB's, for a particular image please use the formula below.

candidate, in test
SimplePortal 2.3.6 © 2008-2014, SimplePortal