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
[-- Attachment #1 --] On Thu, Aug 07, 2008 at 03:03:23PM +0300, thadeo.mutta@lafarge-tz.lafarge.com wrote: > > 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 for lines like "-Xms" (minimal memory size) "-Xmx" (maximal memory size) and tune it. For example, to grant 256MB of heap to Java use -Xmx256m. If you will not find any of these options, just find where the java executable is defined in scripts and then append the -Xmx right after the executable name to tell Java the new value for heap size. -- Eugene N Dzhurinsky [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkia8egACgkQy/i/DoZLbHxH4ACgseyDF4LsznfDPgPPQu20nG8C iY0AnRcssCnfdAS3+nWrynC7Z+xv5Aol =lfjD -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080807130025.GC10350>
