How can I figure out where memory is being used?

Question

I’ve got a WordPress site that’s using too much memory, and I’m having problems with it on my shared hosting site.

So, to try to figure out where it’s coming from without wrecking my live site, I cloned the site and installed into a local VM, where I deleted all plugins except Query Monitor.

That clone is still using 157M of memory with no other plugins installed.

On the other hand, I’ve got a fresh WordPress install that I installed Query Monitor into, and it’s using only 4M of memory.

So clearly, there’s something in my clone that’s burning memory. It’s not the plugins — they’re gone. It’s not the theme — I switched it to the same theme as the fresh install (stock 2017 theme).

I’ve looked through the output from Query Monitor, and I can’t see a difference of substance.

What can I look for to try to figure out why my clone is consuming so much memory?

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/how-can-i-figure-out-where-memory-is-being-used/">

How can I figure out where memory is being used?</a>
0
Vultan 3 months 0 Answers 52 views 0

Leave an answer