Re: Crash on *very* long script

From: Date: Fri, 28 Jan 2000 21:29:06 +0000
Subject: Re: Crash on *very* long script
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-15001@lists.php.net to get a copy of this message
AG>> Well if your loop creates tons and tons of new variables you will run out AG>> of memory. You can compile with support for a per-script memory limit but AG>> it does slow down a bit. No, the script which creates 10000 variables goes fine, but the same script unrolled into 6M sheet of code dies. I know what can be done to circumvent this, I just think that there should be no crashes anyway. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#15001) next »