2017-03-12 23:22:07.609 [NOTICE] [45.32.117.34:57822] [STDERR] PHP Fatal error: Out of memory (allocated 58195968) (tried to allocate 42403 bytes) in /home/guinnof1/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 327
and whenever i click add to cart or something (which i think) related to cart, most of the time the virtual memory usage and the CPU usage maxed out.
If you have increased memory limit and still getting:
tried to allocate XYZ bytes
Then, the memory limit is not affected by your changes. For more, the script is failing at this file:
wp-content/plugins/wp-super-cache/wp-cache-phase2.php file which is part of WP Super Cache, so consider disabling it and try again.
If you still get that fatal error, then contact your host and ask for advise from them to help you increase your memory limit to 256M or 128M if that is not possible.
It seems that the plugin you were using may have caused that to change.
The memory limit is only required in case when you want to import demo content of Oxygen theme, that will download the content from the remote server and then process those bytes, thats why it needs to have more space. Otherwise, you can be just fine with 128MB or 256MB, most of the themes recommend these values.
I hope this will help you.
P.S. If you are satisfied with our support, I kindly ask you to increase your rating.
I have configured my server limits as followings.
(yes i have read the reccomended documentation)
But the site keeps getting http 500 error.
2017-03-12 23:22:07.609 [NOTICE] [45.32.117.34:57822] [STDERR] PHP Fatal error: Out of memory (allocated 58195968) (tried to allocate 42403 bytes) in /home/guinnof1/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 327
and whenever i click add to cart or something (which i think) related to cart, most of the time the virtual memory usage and the CPU usage maxed out.
Hi there,
If you have increased memory limit and still getting:
Then, the memory limit is not affected by your changes. For more, the script is failing at this file:
wp-content/plugins/wp-super-cache/wp-cache-phase2.php file which is part of WP Super Cache, so consider disabling it and try again.
If you still get that fatal error, then contact your host and ask for advise from them to help you increase your memory limit to 256M or 128M if that is not possible.
Please let me know about the results?
Thank you for your response,
I tried to increase it to 512MB and it was still like that
but, I have solved the problems.
Turns out that one of the plug-in i used doesn't look like compatible with the theme.
Anyway, it is fine to leave the memory limit at 512MB? Would it cause errors? (512MB is the highest limit of my server)
Best regards,
Sunderi Pranata
Hi Sunderi,
It seems that the plugin you were using may have caused that to change.
The memory limit is only required in case when you want to import demo content of Oxygen theme, that will download the content from the remote server and then process those bytes, thats why it needs to have more space. Otherwise, you can be just fine with 128MB or 256MB, most of the themes recommend these values.
I hope this will help you.
P.S. If you are satisfied with our support, I kindly ask you to increase your rating.
Have a great day