Re: Fatal error: Unable to initialize a new token cache

From: Date: Wed, 14 Jun 2000 10:35:51 +0000
Subject: Re: Fatal error: Unable to initialize a new token cache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1826@lists.php.net to get a copy of this message
On Tue, Jun 13, 2000 at 03:50:24PM -0500, Nick Riemondi wrote: > Does anyone know what could possibly be causing this? > > Fatal error: Unable to initialize a new token cache in > /www/htdocs/category.php3 on > line 119 > > This line is nothing special, its just assigning some values: > > 118: for ($i = 4; $i < $count_subcats + 4; $i++) { > 119: eval("\$amount_this += \$dummy[$i];"); > 120: }; PHP 3 looses some memory when calling eval() this is not going to get fixed in PHP3. PHP 4 does not suffer from this problem. tc > > I first thought maybe I was out of memory (this is dealing with a large > amount of data), but I bumped the memory from 8MB to 16MB and I still > got the same problem in the same spot. It works for around 289 of these > invoices I'm processing, but it fails at 293 everytime for this one. I > was just wondering if anyone knew what this meant before I look for more > memory efficient ways of accomplishing what I'm after (if it's even > possible to get more memory efficient). > > Thanks! > Nick Riemondi > outerscape.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.general (#1826) next »