设置virgo-tomcat-server的JVM内存
设置virgo-tomcat-server的JVM内存
>> vi ../virgo-tomcat-server-3.0.3.RELEASE/bin/dmk.sh
if [ -z "$NO_START_FLAG" ]
then
TMP_DIR=$KERNEL_HOME/work/tmp
# Ensure that the tmp directory exists
mkdir -p $TMP_DIR
在以上代码下面加入:JAVA_OPTS="$JAVA_OPTS -Xmx1024m -XX:MaxPermSize=1024m"