[esb-java-user] java heap
Asankha C. Perera
asankha at wso2.com
Wed Sep 24 19:11:52 PDT 2008
Remsy
> Sometimes I get out of memory execpetions, where excatly do I increase
> the java heap or declare as a parameter ?
If you start using the wso2-esb.sh, change the following line.
"$JAVA_HOME/bin/java -server -Xms128M -Xmx128M "
this is the standard Java arguments for heap size.
If you are using the daemon script (wso2-esb-daemon.sh) or the Windows
wso2-esb.bat file, edit your webapp/WEB-INF/classes/conf/wrapper.conf
and change the following
------------------------------------------------------------------------------------------------------------------
# Initial Java Heap Size (in MB) - compute according to system
wrapper.java.initmemory=128
# Maximum Java Heap Size (in MB) - compute according to system
wrapper.java.maxmemory=128
------------------------------------------------------------------------------------------------------------------
asankha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.wso2.org/pipermail/esb-java-user/attachments/20080925/41765f0b/attachment.htm
More information about the Esb-java-user
mailing list