JBoss Community

Re: Getting OutOfMemoryError:Java heap space error

created by Wolf-Dieter Fink in Beginner's Corner - View the full discussion

If you start with bin/run.bat you try to modify the line:

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m

and increase the -Xmx value.

Also it might help to increase -Xms if you need the memory constantly (it will increase the initial heap size and free the JVM to recalculate the heap)

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community