tobeyt23 Posted December 6, 2011 Share Posted December 6, 2011 I have my memory_limit in php.ini to 256M. Is that too high? Quote Link to comment https://forums.phpfreaks.com/topic/252597-memory_limit/ Share on other sites More sharing options...
php_king Posted December 6, 2011 Share Posted December 6, 2011 Well, I'd consider 126M to be high, but it all depends upon what your scripts are doing. Quote Link to comment https://forums.phpfreaks.com/topic/252597-memory_limit/#findComment-1295012 Share on other sites More sharing options...
ManiacDan Posted December 6, 2011 Share Posted December 6, 2011 PHP doesn't malloc all the ram in the memory_limit all at once, it allocates as it needs to and will die if it goes over its own limit. If your scripts never run away from themselves then it doesn't really matter how big your limit is. Have you done any memory tests to see just how much RAM your scripts are using when you run them? Quote Link to comment https://forums.phpfreaks.com/topic/252597-memory_limit/#findComment-1295014 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.