Li,Henry wrote:
My Tomcat is running on 32-bit Red Hat 4 (2.6.9-78.0.1.ELsmp), host server
has 8G physical memory and 4 processors.
java version 1.4.2 gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10)
I got java.lang.OutOfMemoryError
Current configuration: -Xms1024M -Xmx2304M
The host server
Juha,
Yes, there is memory leak from application. We contact the application vendor
and they do not have patches to fix it for the version which we are using. So
what we need is a partial/dirty fix to mimimize the recycle times. Upgrading
the application will be a project which requires lots
Li,Henry wrote:
Juha,
Yes, there is memory leak from application. We contact the application vendor
and they do not have patches to fix it for the version which we are using. So
what we need is a partial/dirty fix to mimimize the recycle times. Upgrading
the application will be a project
Thank you Andre for this information. I will look at it.
Regards,
Henry
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Friday, July 24, 2009 9:33 AM
To: Tomcat Users List
Subject: Re: what is the upper limit of maximum heap memory for Tomcat with
32-bit JVM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Henry,
On 7/23/2009 7:01 PM, Li,Henry wrote:
I got java.lang.OutOfMemoryError
Current configuration: -Xms1024M -Xmx2304M
The host server has about 4.5G free memory. When I tried to increase
-Xmx2304M to -Xmx3000M, I got this error:
Error
Li,Henry wrote:
Yes, there is memory leak from application. We contact the application vendor
and they do not have patches to fix it for the version which we are using. So
what we need is a partial/dirty fix to mimimize the recycle times.
Upgrading the application will be a project which
Juha Laiho wrote:
To André; it's rather seldom where an extra GC would help in a situation
like this: GC will anyway have run (possibly several times) before the
OutOfMemoryError is thrown. The issue is that some class is packratting
recerences to objects no longer needed - and as there's
2. Your other 'workaround' is to install a 64 bit OS and a 64 bit JVM.
Then you can have 7G+ for the JVM.
Actually, to be totally clear, you can have pretty much as much memory
as you have physical ram in the machine. In your case that's 7G+
For more info on the 64bit JVM see
Thank you Alan for your help.
I use top to get the 4G free memory: Mem: 8309064k total, 3426680k used,
4882384k free, 163308k buffers.
Your are right, my 4 processors mean 4 cores (2 dual-core processors)
I think I will take your workaround #2.
Regards,
Henry
-Original Message-
From: Alan Chaney [mailto:a...@compulsivecreative.com]
Subject: Re: what is the upper limit of maximum heap memory for Tomcat
with 32-bit JVM running on Red Hat Linux 4 (32-bit)
You are using a 32 bit operating system and a 32 bit processor.
To make more than 4GB of ram available you must
You are using a 32 bit operating system and a 32 bit processor. To make
more than 4GB of ram available you must ensure that you have PAE support
enabled in your kernel (search Google for Physical Address Extension)
which may mean re-compiling for RHEL 4 (see Red Hat). Your processor may
not
My Tomcat is running on 32-bit Red Hat 4 (2.6.9-78.0.1.ELsmp), host server has
8G physical memory and 4 processors.
java version 1.4.2 gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10)
I got java.lang.OutOfMemoryError
Current configuration: -Xms1024M -Xmx2304M
The host server has about 4.5G free
From: Alan Chaney [mailto:a...@compulsivecreative.com]
Subject: Re: what is the upper limit of maximum heap memory for Tomcat
with 32-bit JVM running on Red Hat Linux 4 (32-bit)
Actually, to be totally clear, you can have pretty much as
much memory as you have physical ram in the machine.
I would do option 2 also if I were him. I doubt his cpus are 32-bit though. I'm
betting any dual core out there is 64-bit, though I wouldn't bet the farm on
it. We use the 64-bit jvm on dual-core xeons without any problem (rhel5).
-Tony
Sent from my Windows Mobile® phone.
-Original
Thank you Chuck! I will go to the 64-bit.
Regards,
Henry
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Thursday, July 23, 2009 7:19 PM
To: Tomcat Users List
Subject: RE: what is the upper limit of maximum heap memory for Tomcat with
32-bit JVM
15 matches
Mail list logo