PDA

View Full Version : Fatal error: Out of memory


melbo
Sun 13th Jan '08, 12:52am
Installed 3.7 Beta 3 on a test forum.
Shared server.

Fatal error: Out of memory (allocated 786432) (tried to allocate 19456 bytes) in /home/*****/public_html/forum/includes/class_core.php on line 2474


Server Type Linux
Web Server Apache v1.3.39

PHP 5.2.5

PHP Max Post Size 8.00 MB

PHP Maximum Upload Size 20.00 MB

PHP Memory Limit 16.00 MB

MySQL Version 4.1.22-standard

MySQL Packet Size 84.00 MB

Started to hit this error right after I permitted profile customization. I did a quick mock-up of my profile for my members to see and the errors started. They stopped after I killed the feature.

Steve Machol
Sun 13th Jan '08, 1:08am
Your PHP does not have enough memory allocated to it to complete this operation. Ask your host to increase the 'memory_limit' variable in php.ini to at least 32M.

To temporarily up your limits edit your includes/config.php file and add these lines right under the <?php line:

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