Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Increasing HeapSpace in JBoss

 
raka oscr
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using JBoss6, Now I need to configure the heapspace to 128, I found the location foe changing the heap space.

[javadoc]The run.bat has a section for adding the JVM parameters including the heap size. Look for JAVA_OPTS in that file and add your JVM setting there. This is what i have on my local setup:


set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m [/javadoc]

But I dont know excatly where should i change the value. Anyone please guide me.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
-Xms is the minimal heap size and -Xmx is the maximum heap size. Those are the values you have to change.

I am using JBoss6, Now I need to configure the heapspace to 128


128 what? 128 MB?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic