digitalformula Posted July 15, 2011 Share Posted July 15, 2011 Hi all, On my production server ExpressionEngine (CMS) uses 9.9MB memory but on my dev server it uses 16.7MB memory. According to ExpressionEngine support, this is displayed using memory_get_usage . My dev server is running a pretty standard package of Debian, MySQL 5.5, PHP 5.3 and Apache 2.2 - all are compiled from source. Is anyone able to assist me in finding out why the memory usage is so different between two relatively similar configurations? The production server is running Apache 1.3 which is a major difference but I wouldn't expect that to be the cause of twice the memory usage when moving to Apache 2.2. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/242057-php-memory-usage-optimization/ Share on other sites More sharing options...
gristoi Posted July 15, 2011 Share Posted July 15, 2011 errrrr??? is your production server being used by users? Quote Link to comment https://forums.phpfreaks.com/topic/242057-php-memory-usage-optimization/#findComment-1243064 Share on other sites More sharing options...
digitalformula Posted July 15, 2011 Author Share Posted July 15, 2011 Yeah, by between 500 and 1000 other websites - sounds like a stupid number but it's a figure directly from my production hosting company. That said, I just installed eAccelerator and the memory usage has dropped from 18MB to 5MB - wow. Quote Link to comment https://forums.phpfreaks.com/topic/242057-php-memory-usage-optimization/#findComment-1243078 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.