Re: Performance: php-gtk vs java (fwd)

From: Date: Sun, 16 Jan 2005 20:21:02 +0000
Subject: Re: Performance: php-gtk vs java (fwd)
References: 1 2 3 4 5  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5476@lists.php.net to get a copy of this message
On Sun, 16 Jan 2005 19:47:57 +0100 Christian Weiske <cweiske@cweiske.de> wrote: > >>- because a website is finite, and a desktop application is not? - > > I'm sorry but I don't understand. > The php process of a website request is ended after the client has been > served, and so every new request forces a new process. > A php-gtk application uses one process all over the time and has more > opportunities to leak memory. Ah, so it _is_ about memory leaks, that's what I didn't understand. But is it OK to have memory leaks? I thought the way the PHP language works is supposed to take care of such issues as far as the programmer is concerned. Basically, what you're saying is that a PHP process that runs for a long time may very well collapse due to memory exhaustion. I am currently in the process of basing a project on such long term running PHP scripts. Should I be concerned and look for an alternative implementation? -- Ciprian Popovici

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