Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Im currently using WP-Memory-Usage plugin on my wordpress multisite network to monitor my memory usage. The memory usage displays 39.1 MByte. Does it mean 39.1 MByte per blog?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

No, this has to do with each page load and uses PHP's memory_get_usage() plugin.

Every page load will have a slightly different memory usage. Disabling plugins will decrease it, as the plugin doesn't have to load on that page.

This means that the usage will be different on every blog, and possibly on different pages in the blog.

share|improve this answer
    
So each page load it may use 39.1mbyte.. so it means that when blog 1 loads with about 30mbyte memory and blog 2 loads the same time as blog 1 with about 32mbyte also, both blogs equal to 62 mbyte right? –  Ken Jul 1 '12 at 0:03
1  
Ken: Yes and no. That view is too simplistic. Modern web servers use shared memory spaces, so the total footprint for the PHP process may be shared, or it may not be, or it may be spinning off several long running PHP processes to use for timesharing (the FastCGI method), or one of any of a dozen different things. There's no way to use the knowledge of the total memory use within the PHP process alone to infer anything meaningful about how the outside system is treating it or where the memory is coming from. –  Otto Jul 1 '12 at 12:28
add comment

I believe the plugin displays the total memory being utilized by PHP and WordPress (as a whole, i.e. includes theme, plugins) at that point of time. I suggest checking out Alex Rabe's (plugin author) blog post about the plugin.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.