阅读:1094
回复:1
|
portal闪退怎么解决图片:微信截图_20190801140835.png 双击进去就闪退怎么解决 |
1楼#
发布于:2019-08-08 19:46
是由于产品包里面的jdk版本与tomcat里面java内存参数配置不匹配导致的。可以修改h3bpm-portal\bin\catalina.bat里面的java内存参数为:
set JAVA_OPTS=-server -Xms1024m -Xmx3072m -Xss1024K -XX:MetaspaceSize=512m -XX:MaxMetaspaceSize=512m -XX:SurvivorRatio=16 -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent -XX:+CMSParallelRemarkEnabled -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=80 -XX:+DoEscapeAnalysis -XX:+HeapDumpOnOutOfMemoryError -Duser.timezone=Asia/Shanghai -Dfile.encoding="UTF-8" |
|