随笔分类 -  JVM

VisualVM 远程链接
摘要:在启动参数上 添加 一下 参数 -Dcom.sun.management.jmxremote.port=8999(jmx连接端口号) -Dcom.sun.management.jmxremote.rmi.port=8999 -Dcom.sun.management.jmxremote.ssl=fal 阅读全文
posted @ 2023-02-02 11:27 JonRain0625 阅读(161) 评论(0) 推荐(0)
Java内存溢出和内存泄露
摘要:转载于:https://blog.csdn.net/shimiso/article/details/21830871 虽然jvm可以通过GC自动回收无用的内存,但是代码不好的话仍然存在内存溢出的风险。 最近在网上搜集了一些资料,现整理如下: 一、为什么要了解内存泄露和内存溢出? 1、内存泄露一般是代 阅读全文
posted @ 2019-09-05 21:52 JonRain0625 阅读(253) 评论(0) 推荐(0)