File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Increasing HeapSpace in JBoss

raka oscr

Joined: Mar 02, 2013
Posts: 26

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

Joined: Jul 20, 2005
Posts: 10441

-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]
I agree. Here's the link:
subject: Increasing HeapSpace in JBoss
It's not a secret anymore!