The front-end and backend of WordPress is giving blank pages, non-responding pages (endless loading), and internal server errors intermittently, and my web host has told me it’s because the theme, and visual composer, are using too much memory on the server.
Before you ask, this whole time, the memory_limit of the server has been set to 512M, the maximum allowed.
The web host has given me the following, from error_log in cPanel, which points to royal theme and visual composer being the problem. I’ve tested on another server too and have received the same issues, with the smae memory_limit set. Is there a way I can limit the memory the theme and plugins are using?
[27-Mar-2015 18:08:36 UTC] PHP Fatal error: Out of memory (allocated 54788096) (tried to allocate 491520 bytes) in /home/mymy2015/public_html/wp-content/plugins/Ultimate_VC_Addons/modules/Ultimate_Icon_Timeline.php on line 594
[27-Mar-2015 18:08:36 UTC] PHP Fatal error: Out of memory (allocated 48234496) (tried to allocate 7680 bytes) in /home/mymy2015/public_html/wp-content/themes/royal/framework/shortcodes.php on line 1577