Re: Increasing heap size

Tim Anderson <[email protected]> Sat, 21 Apr 2007 22:48:20 +1000
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Dave Carlson wrote:
> Hi How can I increase the heap size (ie -Xmx=...) when starting OpenJMS? I added a set JAVA_OPTS=-Xmx512M to openjms.bat, but when I exec that I get an error. Any ideas?
>
> Thanks, Dave Carlson
>   

What error?

The setenv.bat script has a commented out entry:
   rem    set JAVA_OPTS=-Xmx256m
What happens if you uncomment this?

-Tim


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/