Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2003 12:09:07 +0100
From:      "Jean-Baptiste Quenot" <jbq@caraldi.com>
To:        java@freebsd.org
Subject:   Re: Running server-side Java on FreeBSD in production environments
Message-ID:  <20031203110906.GG1863@watt.intra.caraldi.com>
In-Reply-To: <20031202131725.S24955@turing.morons.org>
References:  <20031202130629.U56021@fez.hyperreal.org> <20031202131725.S24955@turing.morons.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--f61P+fpdnY2FZS1u
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* 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
=66rom happening.  On resin: class-update-interval=3D'31536000'.

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

--f61P+fpdnY2FZS1u
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/zcRS9xx3BCMc9gsRArtXAKCjBURI2qp+KDjFKJZ0m8tHpQZaxwCcCdLZ
m+aCaaz29er7la/wJ2efaXU=
=Th8L
-----END PGP SIGNATURE-----

--f61P+fpdnY2FZS1u--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031203110906.GG1863>