Re: PHP4: php_module holds memory to long !

From: Date: Wed, 10 Jan 2001 19:04:43 +0000
Subject: Re: PHP4: php_module holds memory to long !
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-43710@lists.php.net to get a copy of this message
> > Any ideas ? > > Welcome to Unix. You can only increase the heap size using > sbrk(), you cannot shrink it. So, if you have allocated n > bytes, you can only reuse those bytes, but never give it back > to the system (without terminating the process). > > - Sascha > Really? From AIX docco... "The sbrk subroutine adds to the break value the number of bytes contained in the Increment parameter and changes the amount of available space accordingly. The Increment parameter can be a negative number, in which case the amount of available space is decreased." Bill

« previous php.dev (#43710) next »