How to resolve the Fatal error: Out of memory problem in vBulletin?
If you see an error message similar to the following one:
Fatal error: Out of memory (allocated 11111111) (tried to allocate 1111 bytes) in your_php_file.php on line 111
it means that the execution of the above php file needs more that the allocated memory.
A possible workaround is:
1. Open your vBulletin include/config.php file.
2. Below the php open tag add the following line:
The code will look as follows:
In this way you will increase the memory limit for your script to 128MB.
The same solution can be applied for different scripts. You should paste the above code in a file which is always invoked when the script is executed. Usually such files are the configuration ones.