@echo off
if EXIST tableRecover.bat (
call tableRecover.bat
del /F tableRecover.bat
)
SET CLSNAME=com.hundsun.tpm.main.ServerStart
SetLocal EnableDelayedExpansion
FOR %%i IN ("..\lib\*.jar") DO SET CLSPATH=!CLSPATH!;%%i
SET CLSPATH=.;..\config\properties!CLSPATH!
..\..\jre\windows\bin\java.exe -Xms256m -Xmx1024m -Xmn64m [color=red]-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044[/color] -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../logs/heap_dump.bin -XX:PermSize=64m -XX:MaxPermSize=128m -cp %CLSPATH%; %CLSNAME%
EndLocal
exit
if EXIST tableRecover.bat (
call tableRecover.bat
del /F tableRecover.bat
)
SET CLSNAME=com.hundsun.tpm.main.ServerStart
SetLocal EnableDelayedExpansion
FOR %%i IN ("..\lib\*.jar") DO SET CLSPATH=!CLSPATH!;%%i
SET CLSPATH=.;..\config\properties!CLSPATH!
..\..\jre\windows\bin\java.exe -Xms256m -Xmx1024m -Xmn64m [color=red]-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044[/color] -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../logs/heap_dump.bin -XX:PermSize=64m -XX:MaxPermSize=128m -cp %CLSPATH%; %CLSNAME%
EndLocal
exit