set JAVA_HOME=%CATALINA_HOME%\jdk
set JRE_HOME=%CATALINA_HOME%\jdk\jre
set JAVA_OPTS=%JAVA_OPTS% -Xms32g -Xmx32g
set JAVA_OPTS=%JAVA_OPTS% -XX:MaxDirectMemorySize=4g
set JAVA_OPTS=%JAVA_OPTS% -XX:PerBytecodeRecompilationCutoff=-1
set JAVA_OPTS=%JAVA_OPTS% -XX:PerMethodRecompilationCutoff=-1
set JAVA_OPTS=%JAVA_OPTS% -server -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\heapdump
我发现你的参数都加了“”引号,请参考上面的参数配置试试看。