H
H
Hosting Yaroslavl2022-03-17 11:15:20
PHP
Hosting Yaroslavl, 2022-03-17 11:15:20

Why is memory leaking in wordpress and how to catch the culprit Fatal error: Allowed memory size of 536870912 bytes exhausted (php_value memory_limit)?

New site on WP, no plugins. A simple bootstrap theme.
After a while, when saving the page in the admin panel, an out of memory error pops up.
I change php_value
memory_limit
to a larger value - everything is ok.
After some time (month) - the same thing.
Now the limit does not fit in 512mb, it was 128 initially and everything worked.
Now requires 1200mb. I change - it works.

for all time 200 users 50 posts.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Arsentiev, 2022-03-17
@moytop

I had a similar experience when I often ruled pages and they had many revisions (200-900), each revision eats memory. Deleted revisions, limited to 10 and no longer ate. You may have something else, but check the revisions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question