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:

ini_set('memory_limit', '128M');

The code will look as follows:

ini_set('memory_limit', '128M');

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.

You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to change the vBulletin administrator password

In order to change the vBulletin forum administrator password you should load your vBulletin...

Home / vBulletin FAQ / How to enable private messages notifications for vBulletin users?

You can allow all vBulletin forum members to receive private messages by running a query under...

How to enable/disable ‘Email this Page to a Friend’ in vBulletin?

The "Email this Page to a Friend" functionality can be enabled/disabled per user group. You can...

How to insert programming source code in vBulletin posts?

Many forum members, especially in the technically oriented forums, need to insert programming...

Remove default http:// from the Insert Link option in vBulletin

In order to remove the predefined http://  string from the Insert Link functionality in the...