Helpful Information
 
 
Category: Forum and Server Management
Allowed memory size

Hi everyone.

I've noticed problem with forumdisplay.php (at 3.6.8)

"PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1966080 bytes) in forumdisplay.php(991) : eval()'d code on line 355"

I think the problem is that we have almost 1000 forums :] and the $vbulletin array gives us almost 5000 lines, but question is: is the solution for this? Is the only way to store this $vbulletin data in memory ?

Thx for any ideas.

Try increasing the memory limit in either php.ini or for the script itself, depending how it's set.

Either increase the limits or disable some of your products/plugins (the error is caused by a plugin).

Either increase the limits or disable some of your products/plugins (the error is caused by a plugin).

Thx for quick answers.

We've got only Cyb - ChatBox plugin. I've disabled this - without any changes.

I know I could increase the limits of memory but what if I can't? Is the solution for situation like that ?

If you can't increase the memory limit imposed, you can't. Simple.

Try adding the following to your config.php file if you (or your host) can not raise the limits:

ini_set('memory_limit', 32 * 1024 * 1024);

ini_set('memory_limit', 32 * 1024 * 1024);

It helped. Thx a lot.

Try adding the following to your config.php file if you (or your host) can not raise the limits:

ini_set('memory_limit', 32 * 1024 * 1024);

thank you Marco :D

Try adding the following to your config.php file if you (or your host) can not raise the limits:

ini_set('memory_limit', 32 * 1024 * 1024);

Thank a lot!
This code also helped me fix the same issue on my forum :)

There is more than one way to skin this cat.

http://www.ducea.com/2008/02/14/increase-php-memory-limit/










privacy (GDPR)