Question

Memory limit issue on Wordpress website

  • Posted on February 7, 2015
  • ddicanAsked by ddican

Hi guys,

I would really appreciate your help with an issue regarding the following error I have: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /var/www/wp-includes/post.php on line 2125 I have modified the php.ini memory_limit to 1024MB, as you can see here: http://www.pretbomba.com/info.php Please help me find a solution as I am stuck for days and I really need to make my wordpress work again (this happens on add/edit post page only).

Thank you,

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

I have around 35k products imported in the database. Should this be an issue?

Have you tried to add this to your wp-config.php file

define(‘wp_memory_limit’,‘512M’);

yet 268435456 bytes or 268.435MB is pretty massive, you usually don’t use that much memory for WP, so maybe this is a different problem.

Can you explain step by step the process up to when you get the error. Also check your php logs for errors.

Hello,

Is there anyone who can help me further on this?

Thanks!