Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /homepages/11/d295962301/htdocs/ptest/modules/search/search.pages.inc on line 35

I need help fixing this error in drupal

3 answers

3
points
This was chosen as the best answer

Drupal.org has the answer Though from what it looks like it might be a search module issue too. You can disable that module and try again.

Answered over 7 years ago by Divya Manian
1
point

In your .htaccess file under the php directive for the version of apache your running try adding:

php_value memory_limit 28M

replace 24M with your desired limit

Answered about 7 years ago by RonnLixx
0
points

You need more memory for that module; find the php.ini file on your server, seach for this line and increase the memory limit:

memory_limit = 16M ; Maximum amount of memory a script may consume (16MB)

Answered over 6 years ago by Jsalinas