Forum Search: Fatal Error

Tom.K

Member
Alpha Testers Translator
Code:
[B]Fatal error[/B]:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in [B]/arrayx/www/forums/search.php[/B] on line [B]1155[/B]
This is an error which is now very frequent. I can't preform a simple search for example, "spybot scanning error". Even entering 4 or more random words which should make less results, but nothing. However, searching for "Allowed memory size of 67108864 bytes exhausted" has shown at least 2 results.
Searching for user names works, but it's close to fatal error, i think.
Searching for my posts (~500) were okay, but when searching for tashi's post (+10k), it took a long delay (5-10 sec), but it loaded.

Searching for tags works well still.

Is there anyway to optimize/fix it? Or, we'll need to make really precise keywords/keyphrases ?
 
I now increased the memory_limit for PHP on this server from 64MB to 128MB. The limit exists to prevent buggy PHP scripts or to eat up all the server's memory and to make some Denial of Service attacks impossible.

I am not sure yet whether more memory is needed now simply because of the increasing number of threads and postings or if something else is causing this.

Anyways, the search function should work now in much more cases.

daemon
 
Back
Top