Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Java Heap Space on Jboss

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic