PHP Memory Issues -- Possible Solution?
| From: | Andrew Buczacki | Date: | Tue, 23 May 2006 15:30:56 +0000 |
| Subject: | PHP Memory Issues -- Possible Solution? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-6940@lists.php.net to get a copy of this message | ||
I did some research and found a nifty little method called unref(). Apparently
it frees up _some_ memory when I called it in my previous code example (in lieu
of unset()). Observing memory usage in task manager shows that there's still a
leak, but it bobs up and down as you toggle through the pages. Is there any
thing I should know about this function, good or bad? I do know it only works
on widgets, so non-gtk php variables are out of the question.
On an unrelated note, how do you guys automagically reply to me and CC the
message to the other players in the conversation and the mailing list? Is there
some internal thingy that does it, or just some copy-paste work before each
reply?
Thanks,
Andrew