Re: Freeing up memory when objects drop out of scope
| From: | Christian Weiske | Date: | Fri, 30 Jun 2006 20:40:59 +0000 |
| Subject: | Re: Freeing up memory when objects drop out of scope | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7032@lists.php.net to get a copy of this message | ||
Andrew,
> P.S. Someone replied to an earlier thread I posted to this list and he said
> that PHP-GTK cannot free up memory in member variables of classes. His
> suggestion was to make every variable global and reuse as many as possible, but
> that's just not viable for my purposes. Is there an alternative to this? Is
> this a documented bug/feature?
The not-freeing-memory is a limitation of PHP4/PHP-Gtk1. You only can
use PHP5 and PHP-Gtk2 that supports freeing mem automatically.
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc