PHP/MySQL-driven development, Windows 7, JavaScript
WordPress memory usage reduced from 14MB to 1.4MB
About two weeks ago, I wrote a short article called eAccelerator reduces WordPress memory usage which outlined how I was able to reduce WP memory usage to 8MB. While looking into the Zend Framework, I came across Zend Optimizer again, which I hadn’t messed with in a while. I decided to install it on a whim. The results were unexpected…
| WordPress memory usage* | |
|---|---|
| Standard PHP installation | 14MB |
| eAccelerator | 8MB |
| eAccelerator & Zend Optimizer | 1.4MB |
| * WP memory usage recorded by TPC! Memory Usage | |
Pretty sweet, eh? Does anyone else use this configuration? I was also wondering if, by chance, anyone sees any potential problems with this setup.

September 6, 2009 - 3:32 pm
A 10x factor in scaling up is very good.
September 6, 2009 - 11:43 pm
@Giorgio
Cutting your memory usage by an order of magnitude does not necessarily translate to an order of magnitude increase in ability to handle traffic.
September 7, 2009 - 2:05 am
For increase in traffic-handling ability, Super Cache would do nicely right?
September 7, 2009 - 9:57 am
Definitely. It isn’t a fix-all, but will help drastically.
-Chris
September 9, 2009 - 6:05 am
@Mohan Arun L are you talking about the wp-supercache plugin over here: http://wordpress.org/extend/plugins/wp-super-cache/ ????????
September 9, 2009 - 9:52 am
hey,
I don’t see the benefit. Can you do a automated stress test to show that a reduced memory footprint actually speeds up the delivery of data. or at least the maximum number of requests per second before the response time drops to unacceptable.
cheers
September 9, 2009 - 11:23 pm
Hi nheid,
Come on now… are you for real? There is most definitely a benefit. I highly suggest doing a quick search on Google, as you will find a wealth of great articles. I have, however, included a few articles on relevant benchmarking below:
http://deanq.com/blog/archives/3 – some interesting test results on CakePHP benchmark
http://2bits.com/articles/benchmarking-apc-vs-eaccelerator-using-drupal.html – Drupal benchmark
http://blog.sweetnam.eu/2007/11/07/supercache-eaccelerator-and-wordpress-benchmarks/ – eAccelerator/WP Super Cache
-Chris
October 4, 2009 - 7:39 am
Hi, can you tell us, how do you combine WordPress with eAccelerator and Zend Optimizer?
Would be very interesting for me.
Thanks in advance.
Dominik