From owner-freebsd-java@FreeBSD.ORG Wed Dec 3 03:09:11 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1949C16A4CE for ; Wed, 3 Dec 2003 03:09:11 -0800 (PST) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2060643FD7 for ; Wed, 3 Dec 2003 03:09:09 -0800 (PST) (envelope-from jbq@caraldi.com) Received: from caraldi.com (watt.intra.caraldi.com [192.168.100.101]) by mail.caraldi.com (Postfix) with SMTP id 3D6AA221F for ; Wed, 3 Dec 2003 12:09:07 +0100 (CET) Received: by caraldi.com (sSMTP sendmail emulation); Wed, 3 Dec 2003 12:09:07 +0100 From: "Jean-Baptiste Quenot" Date: Wed, 3 Dec 2003 12:09:07 +0100 To: java@freebsd.org Message-ID: <20031203110906.GG1863@watt.intra.caraldi.com> Mail-Followup-To: java@freebsd.org References: <20031202130629.U56021@fez.hyperreal.org> <20031202131725.S24955@turing.morons.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f61P+fpdnY2FZS1u" Content-Disposition: inline In-Reply-To: <20031202131725.S24955@turing.morons.org> User-Agent: Mutt/1.5.5.1i Subject: Re: Running server-side Java on FreeBSD in production environments X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 11:09:11 -0000 --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--