This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Heap Space on Jboss

 
leonardo ginting
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic