Re: Performance: php-gtk vs java (fwd)
| From: | Steph | Date: | Sun, 16 Jan 2005 22:23:19 +0000 |
| Subject: | Re: Performance: php-gtk vs java (fwd) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5479@lists.php.net to get a copy of this message | ||
Don't know, you'd better ask him!
(or her...)
----- Original Message -----
From: "An-tonio" <turok@supercable.es>
Cc: <php-gtk-general@lists.php.net>
Sent: Sunday, January 16, 2005 11:56 PM
Subject: Re: [PHP-GTK] Performance: php-gtk vs java (fwd)
>
> If php have this kind of problem with memory in a long run... project
> like nanoweb (http://nanoweb.si.kz/) have not sense... a web server must
> run a long, long, long time. Didn't developer of nanoweb take care about
> this problem ?.
>
>
> Steph wrote:
>
> >>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?
> >>
> >>
> >
> >
> >In a word, yes, unless you're willing to look into ways of working around
> >the limitation, as 'bradm' did earlier in this thread. PHP (even PHP 5)
was
> >designed primarily for the web, and doesn't have (or need) a way to free
up
> >resources as such. The Zend Engine isn't about to be redesigned to
optimize
> >PHP as a general programming language. So you either stay with PHP and
work
> >around the issues there, or you use a language that doesn't have the
> >Internet as its primary modus operandi.
> >
> >- Steph
> >
> >
> >
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>