How to find Fatal error: Out of memory wp-db.php

Asked

Viewed 2,313 times

0

What sinigfica this error in wordpress and how to fix it

Fatal error: Out of memory (allocated 247988224) (tried to allocate 17584463 bytes) in /backup/public_html/wp-includes/wp-db.php on line 1094

  • I noticed you had a lot of closed questions recently. To increase your chances of getting a good answer I suggest you read the guide [Ask] and do a [tour].

1 answer

1

This error is not specific to Wordpress but to PHP, it is breaking the memory limit.

You can increase the memory limit:

By code

ini_set('memory_limit','QTDE_MEMORIA');

By php.ini

memory_limit = QTDE_MEMORIA;

In this tutorial, There are 4 ways to increase your PHP memory.

  • Where is this php.ini ? in the wordpress folder ?

  • I think Wordpress does not create automatically, you can follow this tutorial to increase the limit: http://wpmidia.com.br/tutorials/4-formas-de-limite-de-memoria-php-wordpress/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.