WordPress: Allowed memory size exhausted during page editing
The editor or backend ends with a PHP fatal error exceeding memory limit. The process can use more memory than allows PHP configuration, sometimes due to a heavy plugin.
How to determine the source of the error
Check the exact limit value and filename indicated in the fatal error log.
Compare memory usage with normal operation with the problem function disabled.
What to do step by step
1. Identify the plugin or memory-using operation and remove unnecessary data loading. If the exception applies only to imports, run it on the sample and check that the data size causes excessive wear.
2 . Increase the limit only to a reasonable value supported by hosting, after determining the source of consumption.
How to check the score
Editing does not cause fatal error, and memory consumption is stable.
What to do
Do not set unlimited PHP memory as a diagnostic substitute.