ee_joseph Posted August 20, 2012 Share 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? Link to comment Share on other sites More sharing options...
PeterUK Posted August 20, 2012 Share 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. Link to comment Share on other sites More sharing options...
ee_joseph Posted August 20, 2012 Author Share 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 :) Link to comment Share on other sites More sharing options...
Grumpy Posted August 21, 2012 Share 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). Link to comment Share on other sites More sharing options...
The Old Man Posted November 6, 2012 Share 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. Link to comment Share on other sites More sharing options...
Ryan Ashbrook Posted November 6, 2012 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.