Re: Performance: php-gtk vs java

From: Date: Mon, 17 Jan 2005 00:54:33 +0000
Subject: Re: Performance: php-gtk vs java
References: 1 2 3 4 5  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5481@lists.php.net to get a copy of this message
Redraws are the worst in my experience (in PHP-GTK1). It's kind of difficult to avoid them too. ----- Original Message ----- From: "Alan Knowles" <alan@akbkhome.com> To: "Jeremy Johnstone" <phpdev@gmail.com> Cc: "Tom Rogers" <trogers@kwikin.com>; "Joseph Crawford" <codebowl@gmail.com>; "[PHP-GTK]" <php-gtk-general@lists.php.net> Sent: Monday, January 17, 2005 2:49 AM Subject: Re: [PHP-GTK] Performance: php-gtk vs java > 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 > >> > >> > >> > >> > > > > > > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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