我正在将 Jprofiler 远程连接到 Linux 服务器。但是在连接最终远程 JVM 崩溃时。 JProfiler GUI 的错误消息如下:
The network connection has been lost. The JVM might have terminated unexpectedly.
If the JVM has crashed, please try the following strategies:
*Reduce the -Xmx value of the profiled application.
*Change your profiling settings
我的远程 JVM java 版本是 1.6.0_33 Java Hotspot(TM) 64 位服务器虚拟机
为什么说要减少分析应用程序的 -Xmx 值,或者如何解决这个问题?
最佳答案
在为 JBoss 4.2.3 指定 JVM GC 设置后,我在使用 JProfiler 7.2.3 时遇到了类似的问题:
-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
删除这些设置后,它再次对我有用。
关于java - JProfiler 7.2.2 远程 JVM 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14686738/