Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OracleAS: java.lang.OutOfMemoryError: Java heap space

453669Jul 11 2007 — edited Jul 13 2007
Hi all,
Now I'm using Oracle AS 10.1.3.0, and after some hours, the error "java.lang.OutOfMemoryError: Java heap space" appeared.

And this is the information of OracleAS memory when it has error:

Memory MXBean
Heap Memory Usage: init = 268,435,456(262,144K) used = 112,462,248(109,826K) committed = 396,558,336(387,264K) max = 517,013,504(504,896K)
Non-Heap Memory Usage: init = 16,973,824(16,576K) used = 98,829,840(96,513K) committed = 99,319,808(96992K) max = 167,772,160(163,840K)
 
Memory Pool MXBeans

Code Cache
Type: Non-heap memory
Usage: init = 196608(192K) used = 27540032(26894K) committed = 27885568(27232K) max = 33554432(32768K)
Peak Usage: init = 196608(192K) used = 27556992(26911K) committed = 27885568(27232K) max = 33554432(32768K)
 
PS Eden Space
Type:Heap memory
Usage:init = 22478848(21952K) used = 26278816(25662K) committed = 50069504(48896K) max = 54722560(53440K)
Peak Usage: init = 22478848(21952K) used = 57802752(56448K) committed = 57802752(56448K) max = 58589184(57216K)
Collection Usage:init = 22478848(21952K) used = 0(0K) committed = 50069504(48896K) max = 54722560(53440K)
 
PS Survivor Space
Type: Heap memory
Usage: init = 3670016(3584K) used = 1082080(1056K) committed = 2424832(2368K) max = 2424832(2368K)
Peak Usage: init = 3670016(3584K) used = 19857256(19391K) committed = 19857408(19392K) max = 19857408(19392K)
Collection Usage: init = 3670016(3584K) used = 1082080(1056K) committed = 2424832(2368K) max = 2424832(2368K)
 
PS Old Gen
Type: Heap memory
Usage: init = 238616576(233024K) used = 85108712(83113K) committed = 344064000(336000K) max = 477233152(466048K)
Peak Usage: init = 238616576(233024K) used = 477233152(466048K) committed = 477233152(466048K) max = 477233152(466048K)
Collection Usage: init = 238616576(233024K) used = 85108712(83113K) committed = 344064000(336000K) max = 477233152(466048K)
 
PS Perm Gen
Type: Non-heap memory
Usage: init = 16777216(16384K) used = 71289808(69618K) committed = 71434240(69760K) max = 134217728(131072K)
Peak Usage: init = 16777216(16384K) used = 71289808(69618K) committed = 71696384(70016K) max = 134217728(131072K)
Collection Usage: init = 16777216(16384K) used = 71177496(69509K) committed = 71434240(69760K) max = 134217728(131072K)
 
And this is runtime prarameter:
-Xrs -server -XX:MaxPermSize=128m -Xms256m -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false

Any one can help me?

Rgds.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2007
Added on Jul 11 2007
4 comments
739 views