PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /usr/lib/php/PEAR.php on line 868.
Here’s the entire error message…
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 33532118 bytes) in /home/anxietyz/public_html/blogs/includes/database.mysql-common.inc on line 41
What modules/issues/configurations can cause this error and what are some of the things I can do to correct it?. It periodically happens when I try to login.
I’m running Drupal 6.2 with the following NON-core MODS…
Solution:
Set the memory limit to a higher value in the file /root/ispconfig/php/php.ini
;max_execution_time = 300 ; Maximum execution time of each script, in seconds
max_execution_time = 600 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)
memory_limit = 512M ; Maximum amount of memory a script may consume (8MB)
Categories: Linux



