Differences in memory consumption between two identical D7 sites?

Posted by aendrew on Server Fault See other posts from Server Fault or by aendrew
Published on 2012-10-07T13:36:06Z Indexed on 2012/10/08 3:38 UTC
Read the original article Hit count: 471

Filed under:
|
|

I'm running Drupal on a news site that has a lot of different View blocks on the front page (~5 total, all cached). In trying to reduce the memory footprint of the site, I've checked out source from SVN to a local development install to try and convert some of those blocks into more optimized code.

Here's the weird thing. Devel module lists memory consumption at 50mb on the Production site (Running Nginx, PHP 5.2.17, XCache and Zend Optimizer.) but only 14mb on my development site (Running Apache2, PHP 5.2.13 and XCache). These are nearly-identical versions of the same site — frankly, the Production site should use even less memory as I've disabled some of the modules running on the Dev site.

Any idea why this might be the case?

© Server Fault or respective owner

Related posts about caching

Related posts about nginx