[jboss-user] [Beginner's Corner] - Re: Getting OutOfMemoryError:Java heap space error

Wolf-Dieter Fink do-not-reply at jboss.com
Thu Jan 13 04:28:45 EST 2011

Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: Getting OutOfMemoryError:Java heap space error"

To view the discussion, visit: http://community.jboss.org/message/580507#580507

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110113/9c0d7e66/attachment.html 

More information about the jboss-user mailing list