Fatal Error: Memory Exhausted..?

Hello, All,

 

Receiving the following error while trying to run Orca (in both Admin section or as regular user):

 


Fatal error: Allowed memory size of 67108864 bytes exhausted at /dev_iCultur/sourcecache/php-5.2.6/Zend/zend_variables.h:45 (tried to allocate 20151 bytes) in /var/sites/dolphin/orca/inc/util.inc.php on line 236

 

Currently, I've increased the memory limit to 64M in php.ini,but that only changed the file that's generating the include. Any ideas as to how to eradicate this message?  Right now, there are 4 users and no topics.  I'm hoping that Orca doesn't need this much memory allocated for an empty forum..

 

Cheers,

Matthew

 

Quote · 27 Aug 2008

Update:

Problem solved. Sort of.  The function causing the problem was:

function validate_unicod(&$s)
{
if (function_exists(iconv)
iconv("UTF-8","UTF-8//IGNORE",$s);
}


By changing it from a reference, and just returning the value, the error went away, and I could drop the limit back down to php's standard 8M.

Any thoughts? I'm new to the forums, humor me. :)

Cheers,

Matt

Quote · 28 Aug 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.