我有一个在 linux 中运行的 java 聊天服务器程序。有时会发生下面的致命错误。我认为这个致命错误可能是由 OOM 引起的,但我不确定。
-------------------- crash log ---------------------------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (sharedRuntime.cpp:834), pid=17781, tid=140031174805248
# fatal error: exception happened outside interpreter, nmethods and vtable stubs at pc 0x00007f5c1d05406f
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been …Run Code Online (Sandbox Code Playgroud)