• PHP Fatal error: Out of memory (allocated 1617842176) (tried to allocate 6141944 bytes) in /public_html/wp-includes/wp-db.php on line 1999

    This is from the debug.log after enabling wp_debug. I can’t find more details about the error except this line.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dion

    (@diondesigns)

    If your site requires 1.5GB memory to run, you have bigger problems than that error. You should do some experimenting to determine whether your theme and/or certain plugins are responsible for such an enormous amount of memory usage.

    I don’t recommend it, but you might be able to eliminate the error by allocating more memory to PHP and WordPress.

    Thread Starter FlixWatch Support

    (@flixwatchsupport)

    PHP memory limit is 6048M.
    ‘WP_MEMORY_LIMIT’, ‘6048M’
    Where is the 1.5 coming from and how do I change it? The issue is with a custom plugin. The developer who created is AWOL, I have asked someone else to help but it’s taking more time than required. So have to change the memory limit meanwhile.

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