# # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 262144 bytes for committing reserved memory. # Possible reasons: # The system is out of physical RAM or swap space # In 32 bit mode, the process size limit was hit # Possible solutions: # Reduce memory load on the system # Increase physical memory or swap space # Check if swap backing store is full # Use 64 bit Java on a 64 bit OS # Decrease Java heap size (-Xmx/-Xms) # Decrease number of Java threads # Decrease Java thread stack sizes (-Xss) # Set larger code cache with -XX:ReservedCodeCacheSize= # This output file may be truncated or incomplete. # # Out of Memory Error (os_linux.cpp:2640), pid=25018, tid=0x00007fb10020f700 # # JRE version: Java(TM) SE Runtime Environment (8.0_141-b15) (build 1.8.0_141-b15) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.141-b15 mixed mode linux-amd64 compressed oops) # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # --------------- T H R E A D --------------- Current thread (0x00007fb0d00d1000): JavaThread "MQTT Ping: pc56" [_thread_in_vm, id=25048, stack(0x00007fb10010f000,0x00007fb100210000)] Stack: [0x00007fb10010f000,0x00007fb100210000], sp=0x00007fb1002097e0, free space=1001k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0xacb18a] VMError::report_and_die()+0x2ba V [libjvm.so+0x4ff4db] report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x8b V [libjvm.so+0x927d23] os::Linux::commit_memory_impl(char*, unsigned long, bool)+0x103 V [libjvm.so+0x928279] os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29 V [libjvm.so+0x92249a] os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2a V [libjvm.so+0xac6ee9] VirtualSpace::expand_by(unsigned long, bool)+0x199 V [libjvm.so+0x8a62b6] VirtualSpaceList::expand_node_by(VirtualSpaceNode*, unsigned long, unsigned long)+0x76 V [libjvm.so+0x8a90d0] VirtualSpaceList::expand_by(unsigned long, unsigned long)+0xf0 V [libjvm.so+0x8a9263] VirtualSpaceList::get_new_chunk(unsigned long, unsigned long, unsigned long)+0xb3 V [libjvm.so+0x8aadb2] SpaceManager::grow_and_allocate(unsigned long)+0x2d2 V [libjvm.so+0x8aafbb] SpaceManager::allocate_work(unsigned long)+0x14b V [libjvm.so+0x8ab04c] SpaceManager::allocate(unsigned long)+0x7c V [libjvm.so+0x8ab29e] Metaspace::allocate(ClassLoaderData*, unsigned long, bool, MetaspaceObj::Type, Thread*)+0x17e V [libjvm.so+0x4f32a6] ConstMethod::allocate(ClassLoaderData*, int, InlineTableSizes*, ConstMethod::MethodType, Thread*)+0xf6 V [libjvm.so+0x8b4288] Method::allocate(ClassLoaderData*, int, AccessFlags, InlineTableSizes*, ConstMethod::MethodType, Thread*)+0x38 V [libjvm.so+0x4621bf] ClassFileParser::parse_method(bool, AccessFlags*, Thread*)+0x173f V [libjvm.so+0x462953] ClassFileParser::parse_methods(bool, AccessFlags*, bool*, bool*, Thread*)+0x293 V [libjvm.so+0x4637da] ClassFileParser::parseClassFile(Symbol*, ClassLoaderData*, Handle, KlassHandle, GrowableArray*, TempNewSymbol&, bool, Thread*)+0xcca V [libjvm.so+0x46879b] ClassLoader::load_classfile(Symbol*, Thread*)+0x3fb V [libjvm.so+0xa40940] SystemDictionary::load_instance_class(Symbol*, Handle, Thread*)+0x380 V [libjvm.so+0xa3f8fc] SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, Thread*)+0x78c V [libjvm.so+0xa40078] SystemDictionary::resolve_super_or_fail(Symbol*, Symbol*, Handle, Handle, bool, Thread*)+0x2d8 V [libjvm.so+0x464220] ClassFileParser::parseClassFile(Symbol*, ClassLoaderData*, Handle, KlassHandle, GrowableArray*, TempNewSymbol&, bool, Thread*)+0x1710 V