Two Laptop Bag*
The moose likes JBoss/WildFly and the fly likes Increasing HeapSpace in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Increasing HeapSpace in JBoss" Watch "Increasing HeapSpace in JBoss" New topic
Author

Increasing HeapSpace in JBoss

raka oscr
Greenhorn

Joined: Mar 02, 2013
Posts: 25
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

Joined: Jul 20, 2005
Posts: 9947
    
160

-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?

[My Blog] [JavaRanch Journal]
 
wood burning stoves
 
subject: Increasing HeapSpace in JBoss
 
Similar Threads
increasing heap size in jboss
Exception in reading PDF using java
How to increase java Heap size ?
out of memory error with Tomcat 5
Regarding contiguous memory region in heap