Jump to content

PHP memory usage optimization


Recommended Posts

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.  :)

Link to comment
https://forums.phpfreaks.com/topic/242057-php-memory-usage-optimization/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.