Date: Thu, 7 Aug 2008 16:00:25 +0300 From: Eugeny N Dzhurinsky <bofh@redwerk.com> To: freebsd-java@freebsd.org Subject: Re: How to increase java heap size Message-ID: <20080807130025.GC10350@office.redwerk.com> In-Reply-To: <OF0E335C8E.B161882A-ON4325749E.0041FF86-4325749E.0041B62A@lafarge.com> References: <OF0E335C8E.B161882A-ON4325749E.0041FF86-4325749E.0041B62A@lafarge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--8NvZYKFJsRX2Djef Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 07, 2008 at 03:03:23PM +0300, thadeo.mutta@lafarge-tz.lafarge.c= om wrote: >=20 > Hello. > Please help as I am getting error message at my SQL server complaining on > java.lang.outofMemory Please find out where the java process is started in scripts, then search f= or lines like "-Xms" (minimal memory size) "-Xmx" (maximal memory size) and tu= ne it.=20 For example, to grant 256MB of heap to Java use -Xmx256m. If you will not f= ind any=20 of these options, just find where the java executable is defined in scripts= and then=20 append the -Xmx right after the executable name to tell Java the new value = for heap=20 size. --=20 Eugene N Dzhurinsky --8NvZYKFJsRX2Djef Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkia8egACgkQy/i/DoZLbHxH4ACgseyDF4LsznfDPgPPQu20nG8C iY0AnRcssCnfdAS3+nWrynC7Z+xv5Aol =lfjD -----END PGP SIGNATURE----- --8NvZYKFJsRX2Djef--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080807130025.GC10350>