永洪社区

标题: 永洪启动后,每隔段时间就报如下的内存溢出错误 [打印本页]

作者: yhdata_pPZBfF6l    时间: 2024-6-12 16:09
标题: 永洪启动后,每隔段时间就报如下的内存溢出错误
主机内存:8G
版本: 9.2.4
在tomcat中加入catalina.sh 中加入了下面的参数,依然无效:

CATALINA_OPTS="-Xmx4096m -Xms4096m -XX:MaxMetaspaceSize=512m -XX:MetaspaceSize=128m -XX:G1HeapRegionSize=32m -XX:InitiatingHeapOccupancyPercent=35 -XX:G1ReservePercent=15 -XX:ConcGCThreads=10 -XXarallelGCThreads=10 -XX:+ParallelRefProcEnabled -XX:SoftRefLRUPolicyMSPerMB=0  -Xlog:gc*:file=$CATALINA_HOME/../Yonghong/log/jvm.logfilecount=16 -Djava.awt.headless=true --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED -XX:OnError='$JAVA_HOME/bin/jstack %p >$CATALINA_HOME/logs/thread_stack_%p.log' -XX:ErrorFile=$CATALINA_HOME/logs/hs_err_%p.log -XX:OnOutOfMemoryError='$JAVA_HOME/bin/jmap -dump:format=b,file=$CATALINA_HOME/logs/jmap_%p.log %p' -XX:+ExitOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-nio-8080-Acceptor"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "QuartzScheduler_MyClusteredScheduler-RandomSchedulerId_10.100.5.128_1718160200094_ClusterManager"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "DCThreadPool3"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "RTDBGroup13"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "defenseCheck-pool-7-thread-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Timer-7"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Timer-13"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "DCThreadPool2"


作者: yhdata_lyaa    时间: 2024-6-12 16:26
什么无效,修改没有成功吗,报错时有做什么操作吗
作者: yhdata_pPZBfF6l    时间: 2024-6-12 16:35
没有做特别的操作,而且测试环境使用率频率也很低
作者: yhdata_lyaa    时间: 2024-6-12 16:50
yhdata_pPZBfF6l 发表于 2024-6-12 16:35
没有做特别的操作,而且测试环境使用率频率也很低

有运行什么调度任务么,管理系统监控系统截图看看呢




欢迎光临 永洪社区 (http://club.yonghongtech.com/) Powered by Discuz! X3.4