How to increase java heap size

Eugene Grosbein eugen at kuzbass.ru
Wed Jan 26 02:50:30 PST 2005


Hi!

I use jakarta-tomcat-5.0.29/FreeBSD 5.3-STABLE and need to increase
java heap size using JAVA_OPTS="-Xms256M -Xmx512M".

Where should I place these flags so that whey will be used and will not be
overwritten during upgrades? I tried to create 
/usr/local/jakarta-tomcat50/bin/setenv.sh but it seems it is not used.

Please CC: me, I'm not in a list yet.

Eugene Grosbein


More information about the freebsd-java mailing list