You should change the JAVA_OPTS value in the <JBOSS_HOME>/bin/run.conf file to increase the heap size.
JAVA_OPTS="-server-Xms128m -Xmx512m-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
The minimum heap size is 128m and you can set the maximum heap size to any value. Some example parameters for maximum heap size is 512m, 1024m and 2048m.
sorry, i don't have any run.conf!
I'm using an EMBEDDED server which is not started by a script.
The server starts, when the JavaProg runs...
There are only some xml-files for configuration:
I have never used the embedded server so please ignore my ignorance, and feel free to ignore my post if it makes no sense.
Is the server embedded within a Java application? If so, change the heap size for the Java application. Since it is all in one JVM...
Is the server embedded within a C/C++/??? application? What API call is used to load the server? I know that the standard API function used to load the JVM has a parameter that takes JVM options, and you can add the heap sizes to that parameter.