Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ee_joseph Posted August 20, 2012 Posted August 20, 2012 Hello I know IPS need 128mb memory limit to functions correctly. However, is it the ideal memory or would increasing it to 256 or 512 make it work better?
PeterUK Posted August 20, 2012 Posted August 20, 2012 No, you won't see any benefit from increasing the limit. If a PHP script runs out of memory, then it runs out of memory. Unless you're having that problem, increasing the limit won't do anything other than raise the ceiling of memory that the script can reach before the error is triggered.
ee_joseph Posted August 20, 2012 Author Posted August 20, 2012 No, you won't see any benefit from increasing the limit. If a PHP script runs out of memory, then it runs out of memory. Unless you're having that problem, increasing the limit won't do anything other than raise the ceiling of memory that the script can reach before the error is triggered. ty :)
Grumpy Posted August 21, 2012 Posted August 21, 2012 IPS typically does not use beyond 128mb. In fact, I find it highly unlikely for it to even consume 32mb. But there can be a few cases where IPB will attempt to use more than that but it would be for very specific scenarios. If you have like 10000 forums, it may consume a lot of memory per session. If you have user uploads and the uploaded image or file processing is larger than 128mb, it will need more than 128mb. and etc. But as you can see, all of these are rather unlikely to happen for you. Disclaimer to minimize confusion and add clarity, we ARE talking about php memory limit. This is not the memory size of the container (vps or dedi), nor are we talking about memory limits of the handler (such as apache, etc).
The Old Man Posted November 6, 2012 Posted November 6, 2012 I found IP.Gallery used to white screen when I uploaded a large say 6MB photo from a modern camera as Gallery didn't have enough memory to resize it. Increasing the max memory fixed this problem completely.
Ryan Ashbrook Posted November 6, 2012 Posted November 6, 2012 I found IP.Gallery used to white screen when I uploaded a large say 6MB photo from a modern camera as Gallery didn't have enough memory to resize it. Increasing the max memory fixed this problem completely. Ideally, if you're a Gallery focused site with large / high resolution images, you should look into using ImageMagick instead. ImageMagick uses OS level functions to manipulate the images, so it doesn't typically run into the memory problems that GD does.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.