File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes Java Heap Space on Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Java Heap Space on Jboss" Watch "Java Heap Space on Jboss" New topic

Java Heap Space on Jboss

leonardo ginting
Ranch Hand

Joined: Jul 25, 2011
Posts: 48
hi Master

i would like to asking because recently i got this error and i dont know how to solve this i've been looking some tutorial but i'm still in that condition

why i'm getting Java Heap Space on jboss for your information i've been set JAVA_OPTS="-Xms1048m -Xmx4048m -XX:MaxPermSize=216m but im still getting this error
and for your information in one class i have many setter and Getter method,
1. does the setter and Getter method could causing heap memory because it consume memory?
2. how Can i exactly to determine Xms , Xms and MaxPermSize settings? is there any standard to determine the settings of Xms , Xms and MaxPermSize?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1432
You need to play arond stack, heap and perm min and max parametes based on your configuration and memory. Try min amd max stack size and min PermSize
I agree. Here's the link:
subject: Java Heap Space on Jboss
It's not a secret anymore!