[PHP-DEV] DOM-XML memory leak?

2002-09-02 Thread Al Baker

Hi,

I want to use the dom-xml extension in a production environment, is the
dom-xml memory leak significant, ie will the whole machine run out of
available memory or ?

Please advice if there's a fix or version that does not leak.

Thanks

-- 
This email was sent with Ximian Evolution.


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] DOM-XML memory leak?

2002-09-02 Thread Markus Fischer

On Mon, Sep 02, 2002 at 04:42:38PM -0400, Al Baker wrote : 
 I want to use the dom-xml extension in a production environment, is the
 dom-xml memory leak significant, ie will the whole machine run out of
 available memory or ?

You mean this built in feature that domxml leaks a few bytes
every hour?

Err, really, what are you talking about? Do you have a bug
report ID or something concrete you're talking about but
missed to mentioned ? ;)

cheers

-- 
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
Finally, if someone actually flying a plane is relying on
a freakin' webcam to land, we're all in trouble.
- A /. poster.

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] DOM-XML memory leak?

2002-09-02 Thread Christian Stocker

On Mon, 2 Sep 2002, Markus Fischer wrote:

 On Mon, Sep 02, 2002 at 04:42:38PM -0400, Al Baker wrote :
  I want to use the dom-xml extension in a production environment, is the
  dom-xml memory leak significant, ie will the whole machine run out of
  available memory or ?

 You mean this built in feature that domxml leaks a few bytes
 every hour?

 Err, really, what are you talking about? Do you have a bug
 report ID or something concrete you're talking about but
 missed to mentioned ? ;)

Al talks presumably about the mentioning of a leak in the PHP Weekly
Newsletter, which I reported last week on php-dev. It's not really serious
in my opinion, a few bytes per request. But I had no time to investigate
further. Maybe I shouldn't publicly announce such stuff in the future, it
only scares the hell out of people :)

Al, if you really concerned about it, set MaxRequestsPerChild in
httpd.conf (if you're using apache) to something reasonabe and you
won't even notice anything.

chregu

-- 
nam...christian stockeradr...bremgartnerstr. 66, ch-8003 zurich
pho...+41  1 451 6021  www...http://phant.ch/chregu
mob...+41 76 561 8860  [EMAIL PROTECTED]
wor...+41  1 240 5670  gpg...0x5CE1DECB


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] DOM-XML memory leak?

2002-09-02 Thread Markus Fischer

On Tue, Sep 03, 2002 at 12:07:25AM +0200, Christian Stocker wrote : 
 On Mon, 2 Sep 2002, Markus Fischer wrote:
  On Mon, Sep 02, 2002 at 04:42:38PM -0400, Al Baker wrote :
   I want to use the dom-xml extension in a production environment, is the
   dom-xml memory leak significant, ie will the whole machine run out of
   available memory or ?
 
  You mean this built in feature that domxml leaks a few bytes
  every hour?
 
  Err, really, what are you talking about? Do you have a bug
  report ID or something concrete you're talking about but
  missed to mentioned ? ;)
 
 Al talks presumably about the mentioning of a leak in the PHP Weekly
 Newsletter, which I reported last week on php-dev.

Doh. This makes me looking a complete moron, doesn't it?
Sorry Al, I missed Christians post. Aplogies,

- Markus

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php