Re: Performance: php-gtk vs java

From: Date: Mon, 17 Jan 2005 00:49:57 +0000
Subject: Re: Performance: php-gtk vs java
References: 1 2 3 4  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5480@lists.php.net to get a copy of this message
There are a few places where it's likely resources are not being free'd correctly eg. (of the top of my head and guessing) create a button -> attach a signal, -> remove the button. the associated callback is not de-referenced AFAIR, so you end up with a memory leak. Normally these are not too bad, most of the major stuff is free'd, it's some of the little things that are difficult to work out a strategy on. Regards Alan Jeremy Johnstone wrote:
To my knowledge, this has nothing to do with PHP-GTK specifically. I have written a large app in PHP-GTK which I have left running for over a week and memory usage stayed roughly the same. Either your using some code or some extension which is leaking memory and/or not properly freeing up resources when they are done being used. -Jeremy On Fri, 14 Jan 2005 17:01:52 +1000, Tom Rogers <trogers@kwikin.com> wrote:
Actually it does use a lot of ram and never lets go until shutdown or crash. This is probably due to the way php was designed for web use where program life is not very long. I have made my own PHP ide using php-gtk and its only bug is it will crash after running for a day or so (depending on files used etc). This is under ms windows so maybe unix does not have the same problem. -- regards, Tom -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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