Re: memory allocation and de-allocation

From: Date: Wed, 13 Mar 2002 10:41:02 +0000
Subject: Re: memory allocation and de-allocation
References: 1 2 3 4 5 6  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1498@lists.php.net to get a copy of this message
yes indeed, php 4.1.1 this code idea: #allocate for ($vloop = 0; $vloop <= 200000; $vloop++) { $varr [$vloop] = "Some arb string to grab some ram..."; } #deallocate unset ($varr); This works quite fine, however an unset on a gui widget does do this, I have recompiled php-gtk 0.5.0. brett > On Wed, Mar 13, 2002 at 12:13:45PM +0200, Brett Geer wrote : > > too sweet, this works nicely with the example code I supplied, soon as I use > > unset, poof, the memory drops to nothing again. > > Do you mean, you have tested and seen this behaviour with the > command line version now ? > > - Markus > > -- > Please always Cc to me when replying to me on the lists. > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc >

« previous php.gtk.general (#1498) next »