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
_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to