Re: [SMARTY-DEV] Smarty memory consumption

From: Date: Tue, 10 Dec 2002 19:48:50 +0000
Subject: Re: [SMARTY-DEV] Smarty memory consumption
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-398@lists.php.net to get a copy of this message
Try assigning normally and see what kind of results you get. Even 100 values of y/n shouldn't be taking THAT much memory, definately not something that is going to exceed your 8MB limit! The problem has to be elsewhere. Monte On Tue, 2002-12-10 at 13:40, Garland Foster wrote: > Hi everybody, > > I have a script which sets about a hundread php variables with preferences with values > 'y' or 'n', > the script uses smarty->assign_by_ref to assign the variables to smarty variables. > After some tests I concluded that the assign statements are making PHP cosunme a lot > of memory (a lot more than expected). Can this be possible? > I'm getting a lot of support requests and similar due to PHP exceding the default 8MB > execution > time. > > Any hints or comments will be welcome. > > Garland. -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.dev (#398) next »