Skip to Main Content

Java HotSpot Virtual Machine

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!

Out of memory due to fragmentation

843829May 4 2009 — edited May 14 2009
Hello,
I am getting an out of memory error when my application is running but the heap memory is not full. I think it is a fragmentation issue.
My application settings are:

-Xms2048m
-Xmx2048m
-Xss1m
-XX:PermSize=512m
-XX:MaxPermSize=512m
-XX:+UseParallelGC"

The machine is a Linux with 4GB Ram and 2 cpus.

Can anybody suggest me a good solution?
Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2009
Added on May 4 2009
9 comments
712 views