报表导出的时候。fullgc导致dubbo服务断开。减少批处理量。jvm gc回收机制。尝试了G1 、PS回收机制。
set JAVA_HOME=C:Program FilesJavajdk1.8.0_73
set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
if /i %time:~0,2% LSS 10 (
set log4jdir=%date:~0,4%%date:~5,2%%date:~8,2%0%time:~1,1%%time:~3,2%%time:~6,2%
) else (
set log4jdir=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%
)
set TESTXML_HOME=src/main/java/ykse/TestAutomation/TestNGConfig/
call mvn test -Dlogdir=%log4jdir% -DTestngXmlFileName=%TESTXML_HOME%%3.xml
call C:jacocojacoco.bat
echo C:ATCATC.exe %2 C:TestAutomation arget\%log4jdir% %1 -report %4
C:ATCATC.exe %2 C:TestAutomation arget\%log4jdir% %1 -report %4