High memory usage in my theme, how to find out why?
High memory usage in my theme, how to find out why?
High memory usage in my theme, how to find out why?
MO files (the translations) are memory expensive, especially for languages whose characters need multiple bytes for each – like Arabic, Hebrew, Chinese and so on. So an increased memory usage is normal when you are using translated text. But 33 MB is really not that much. I wouldn’t worry about that. More important are sudden … Read more
Resolved via this functions as suggested by Rup wp_is_ini_value_changeable( ‘memory_limit’ ) source link
I had a similar issue on my WP site, I think it was actually a plugin causing a problem, quite possibly a caching one… Couple of questions: What is it you are trying to do when the error appears? What plugins do you have active?
From quick look (at horribly minified code) plugin just echoes WP_MEMORY_LIMIT in that place so no idea what is going on for you. The basic way to retrieve real PHP memory limit (at specific point! it can be changed in runtime) is ini_get( ‘memory_limit’ ). Related WordPress constants are mostly just a guidelines for WP … Read more
Actually, you should take advantage of your server and move some of the load from the database (usually disk) to the memory. You could start by enabling the APC PHP extension and installing this plugin.
Adjust Memory Limit on bitnami wordpress server (azure)
Just buy more RAM In real OSs there is no such thing as “freeing” memory. Once an application was allocated memory it is owned by it and unlikely to be “returned” to the OS. So if you have an application which “leaks” memory, it is going to consume all available RAM at some point. The … Read more
This mail seems to come from the TPC! Memory Usage plugin. The description includes Send e-mail notification if memory usage reaches threshold setting, and it seems that is what happened here. Either change your plugins so they use less memory, increase the notification limit, or remove this plugin.
On top of caching as many dynamic requests as possible through W3 Total Cache, I also had to modify my PHP configuration to behave nicely on my low memory web server. Before tweaking PHP, it would spawn too many PHP child processes, run out of RAM, hit the swap, and basically shut the entire server … Read more