• Hi,

    While creating a post at the bottom of page it shows me:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /data/web/virtuals/3409/virtual/www/wp-includes/wp-db.php on line 1548

    What can I do about that? Because of this error I cannot schedule posts etc.

    Thank you in advance for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try these:
    Add this line in your wp-config.php below the opening <?php

    define('WP_MEMORY_LIMIT', '64M');

    If it doesn’t help, change the memory_limit in your php.ini (if you have access to that file) to increase memory to 64M:

    memory_limit = 64M;

    Thread Starter elistr

    (@elistr)

    Hi Krishna, Thank you very much for your reply. My Memory limit is 128 MByte and I am still having this problem.
    Is there anything else I can do?

    Edit:
    I use WP-Memory-Usage plugin. It shows me:
    Memory limit : 128 MByte
    Memory usage : 24.41 MByte

    Btw. in wp-config.php I have define(‘WP_MEMORY_LIMIT’, ’64M’);

    Try changing memory limit in your config.php to 128M and see if it helps.

    Thread Starter elistr

    (@elistr)

    Works perfectly! Thanks a lot 🙂

    Thread Starter elistr

    (@elistr)

    Actually the problem is back 🙁

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /data/web/virtuals/3409/virtual/www/wp-includes/wp-db.php on line 1548

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error while posting’ is closed to new replies.