Date: 01/10/01
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] PHP4: php_module holds memory to long !"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] PHP4: php_module holds memory to long !"
- In reply to: Bill Stoddard: "Re: [PHP-DEV] PHP4: php_module holds memory to long !"
- Next in thread: Filip Sielimowicz: "Re: [PHP-DEV] PHP4: php_module holds memory to long !"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
BS>> the number of bytes contained in the Increment parameter and
BS>> changes the amount of available space accordingly. The Increment
BS>> parameter can be a negative number, in which case the amount of
BS>> available space is decreased."
Theoretically, you are right. Practically, you need first to clean that
memory (i.e., not have malloc-ed blocks there), otherwise it would just
drop dead. Given that standard malloc/free combo doesn't give you _any_
control on where blocks are allocated, you'll have hard time freeing top
of your heep unless you free totally everything. If you really need that,
use custom allocator.
-- Stanislav Malyshev, Zend Products Engineer stas <email protected> http://www.zend.com/ +972-3-6139665 ext.115-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] PHP4: php_module holds memory to long !"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] PHP4: php_module holds memory to long !"
- In reply to: Bill Stoddard: "Re: [PHP-DEV] PHP4: php_module holds memory to long !"
- Next in thread: Filip Sielimowicz: "Re: [PHP-DEV] PHP4: php_module holds memory to long !"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

