找文章 / 找答案
永洪vip
  • 发帖数3
  • 粉丝1

此人很懒,什么也没有留下

    永洪启动后,每隔段时间就报如下的内存溢出错误

    yhdata_pPZBfF6l青铜三 显示全部楼层 发表于 2024-6-12 16:09:25 |阅读模式 打印 上一主题 下一主题
    主机内存: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"

    回复

    使用道具 举报

    精彩评论3

    yhdata_lyaa 显示全部楼层 发表于 2024-6-12 16:26:40
    什么无效,修改没有成功吗,报错时有做什么操作吗
    回复

    使用道具 举报

    yhdata_pPZBfF6l青铜三 显示全部楼层 发表于 2024-6-12 16:35:58
    没有做特别的操作,而且测试环境使用率频率也很低
    回复

    使用道具 举报

    yhdata_lyaa 显示全部楼层 发表于 2024-6-12 16:50:45
    yhdata_pPZBfF6l 发表于 2024-6-12 16:35
    没有做特别的操作,而且测试环境使用率频率也很低

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

    使用道具 举报

    高级模式
    您需要登录后才可以回帖 登录 | 免费注册

    • 官方微信

      欢迎关注永洪服务号!收费为0,价值无限

      扫码关注
    • 新浪微博

      让每位用户轻松挖掘数据价值!

      访问新浪微博
    • 智能客服
    50W

    会员等你来哦

    Copyright   ©2012-2024  北京永洪商智科技有限公司  (京ICP备12050607) 京公网安备110110802011451号 |联系社区管理员|《永洪社区协议》
    返回顶部