Out of memory issue

Posted in: Newspaper
Post count: 8

Hello there,

I noticed as I’m developing a new site using the newspaper theme, that some times got errors like “Fatal error: Out of memory (allocated 13631488) (tried to allocate 32 bytes) in /home… ”

So, i asked help for the host support and said me that need to check the code and find reason why it’s trying to use more that 128Mb of memory, they unfortunately can’t raise the memory limit it more that 128Mb.

Can i have some suggestions or solutions from anyone that have met previously same issue?

Best Regards

Post count: 9544

Try adding the memory line to your wp-config.php file, and bump it up to 96MB from default 40MB.

See:
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Post count: 8

Hello,

I tried this but nothing changed. I think the host .ini file overrides all other local modifications.

Any other thoughts?

Post count: 6600

Hi,

What version of visual composer plugin you use and how many posts/pages you have.
Please let us know and also provide your site’s url.

Recently we had various reports about the VC plugin which uses lots or resources and causing issues when using the latest version of the plugin and on site’s with a large amount of content and on some servers.

You can switch to an older version of the VC plugin, it should solve this until we have a reliable solution available as we’re currently testing a solution for this which will allow you not to use the VC all the time just when you built your pages then use this Shim plugin which will render theme’s elements shortcodes.
You can find more detailed info in this tread: https://forum.tagdiv.com/topic/whats-going-to-newsmag-newsmag-is-really-bad-for-sites-with-high-traffic/

Thanks

Post count: 8

Hello,

I tried to update visual composer but with no luck. I followed this post https://forum.tagdiv.com/update-the-visual-composer-plugin-wpbakery/. I think i have 4.4.4.

I have more than 7000 posts/pages in the database. You can see the website here http://artic.gr sometimes while browsing you’ll see a blank page (this is an out of memory error).

If you think that you can fix my problem, i can make for you a temporary ftp and backend user. I’ll really appreciate this.

Please let me know asap.

Best Regards

Post count: 7909

Hi,

Please try also with an older version of Visual Composer like 4.3.5 and see if you still have this issue. If you don’t have this version of the plugin please send an email at contact@tagdiv.com and we will send you this version.

Thanks!

Post count: 8

Hello,

FYI: I send email at contact@tagdiv.com.Waiting for the older version

Best Regards.

Post count: 8

Hello,

FYI: I sent email at contact@tagdiv.com. I am waiting for the older version

Best Regards.

Post count: 8

Hello again,

I already downgraded to 4.35 but as i can see while browsing the blank pages (out of memory) are still there.

Any thoughts / Suggestions?

Best Regards.

Post count: 3343

Hi,

What you can do is to disable some plugins or all(without VC) and see how much memory consume. You can use this plugin, for memory usage https://wordpress.org/plugins/wp-memory-usage/

or try with this one: https://wordpress.org/plugins/p3-profiler/ that show for all plugins the memory usage.

or try with latest theme version, we had improved the performance, that works fine with large taxonomies(before this please backup all files/database)

or try to increase the memory limit to 256 in wp-config.php

Thanks for the message!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.