Help with 'Allowed memory size exhausted error'

From: Date: Sat, 28 Sep 2002 18:38:14 +0000
Subject: Help with 'Allowed memory size exhausted error'
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6041@lists.php.net to get a copy of this message
Hi my question is not directly related to Smarty but I think the answer may be useful for many of us who is new to Smarty and PHP. I start getting 'Fatal error: Allowed memory size of 8388608 bytes exhausted' message after updating PHP on my server. I was using 4.0.6 before and now it is 4.1.2. My site is using PHP/Smarty/mySQL. I'm getting the error only when the script tries to get the products from a specific category which has about 3-4000 products. It doesn't happen with the other categories with less products. I know that this is a memory problem and I tried to increase the PHP memory limit up to 20M but still it doesn't work. I wonder how it was working fine with PHP 4.0.6 and 8M memory limit? And is there any solution? Thanks in advance. Garik

« previous php.smarty.general (#6041) next »