Off lately I have been running into PermGenSpace Out of memory errors.

 

07/15/2010 20.08.12

java.lang.OutOfMemoryError: PermGen space

 

 

After reading few posts I even start the tomcat using the following
parameter:

 

-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -XX:NewSize=512m
-XX:MaxNewSize=512m -XX:PermSize=512m -XX:MaxPermSize=512m
-XX:+DisableExplicitGC

 

I'm using the following:

 

 

Apache Tomcat/6.0.24

Apache httpd:  Apache/2.2.15 (Win32) mod_ssl/2.2.15 OpenSSL/0.9.8m
mod_jk/1.2.30

JVM - 1.6.0_18-b07 - 64 bit SUN implementation

Windows Server 2008 R2  - 64 bit

 

 

This error keeps occurring at least once every day. I don't even see
much load on the server either (about 30 simultaneous connections at any
given time). 

 

Is there anything I'm missing or have overlooked. Any help would be
appreciated.

 

 

 

 

Here is my memory utilization: 

Memory MXBean

Heap Memory Usage

init = 4294967296(4194304K) used = 736729304(719462K) committed =
4288348160(4187840K) max = 11453267968(11184832K) 

 

Memory MXBean

Heap Memory Usage

init = 4294967296(4194304K) used = 736729304(719462K) committed =
4288348160(4187840K) max = 11453267968(11184832K) 

 

Memory MXBean

Heap Memory Usage

init = 4294967296(4194304K) used = 736729304(719462K) committed =
4288348160(4187840K) max = 11453267968(11184832K) 

 

Memory MXBean

Heap Memory Usage

init = 4294967296(4194304K) used = 736729304(719462K) committed =
4288348160(4187840K) max = 11453267968(11184832K) 

 

Memory MXBean

Heap Memory Usage

init = 4294967296(4194304K) used = 736729304(719462K) committed =
4288348160(4187840K) max = 11453267968(11184832K) 

Non-Heap Memory Usage

init = 24313856(23744K) used = 95717208(93473K) committed =
97452032(95168K) max = 138412032(135168K) 

 

Memory Pool MXBeans

Code Cache

Type

Non-heap memory

Usage

init = 2555904(2496K) used = 12208704(11922K) committed =
12386304(12096K) max = 50331648(49152K)

Peak Usage

init = 2555904(2496K) used = 12211200(11925K) committed =
12386304(12096K) max = 50331648(49152K)

Collection Usage

null

 

PS Eden Space

Type

Heap memory

Usage

init = 1073807360(1048640K) used = 690843320(674651K) committed =
1418395648(1385152K) max = 4281925632(4181568K)

Peak Usage

init = 1073807360(1048640K) used = 1428750336(1395264K) committed =
1428750336(1395264K) max = 4292214784(4191616K)

Collection Usage

init = 1073807360(1048640K) used = 0(0K) committed =
1418395648(1385152K) max = 4281925632(4181568K)

 

PS Survivor Space

Type

Heap memory

Usage

init = 178913280(174720K) used = 0(0K) committed = 6619136(6464K) max =
6619136(6464K)

Peak Usage

init = 178913280(174720K) used = 27544328(26898K) committed =
178913280(174720K) max = 178913280(174720K)

Collection Usage

init = 178913280(174720K) used = 0(0K) committed = 6619136(6464K) max =
6619136(6464K)

 

PS Old Gen

Type

Heap memory

Usage

init = 2863333376(2796224K) used = 45885984(44810K) committed =
2863333376(2796224K) max = 8589934592(8388608K)

Peak Usage

init = 2863333376(2796224K) used = 59115592(57730K) committed =
2863333376(2796224K) max = 8589934592(8388608K)

Collection Usage

init = 2863333376(2796224K) used = 45885984(44810K) committed =
2863333376(2796224K) max = 8589934592(8388608K)

 

PS Perm Gen

Type

Non-heap memory

Usage

init = 21757952(21248K) used = 83508504(81551K) committed =
85065728(83072K) max = 88080384(86016K)

Peak Usage

init = 21757952(21248K) used = 83508504(81551K) committed =
85262336(83264K) max = 88080384(86016K)

Collection Usage

init = 21757952(21248K) used = 83500864(81543K) committed =
85065728(83072K) max = 88080384(86016K)

 

 

 

Thanks,

__________________________________

Anurag                                 301-296-3838

*** Please note my email address has changed. Please update it to
amehro...@telebright.com

 

 

The information contained in this message may be privileged and
confidential and protected from disclosure.  If the reader of this
message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer.

 

 

Reply via email to