[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-java
Subject:    Re: Running server-side Java on FreeBSD in production environments
From:       "Jean-Baptiste Quenot" <jbq () caraldi ! com>
Date:       2003-12-03 11:09:07
[Download RAW message or body]


* Nick Johnson:

> One sorta  hokey/kludgy thing  I do  as well is  to perform  a nightly
> restart of all my JVMs.  I don't know  if I still need to do that with
> 1.4.2-p5.  The  main reason I've been  doing it at all  is that memory
> seems  to get  fragmented  or  possibly some  objects  are just  never
> getting garbage  collected, so the  JVM processes were using  more CPU
> and memory as time went by.   I haven't verified whether this is still
> problematic in p5.

You can prevent the OutOfMemory errors by preventing the class reloading
from happening.  On resin: class-update-interval='31536000'.

Cheers,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic