Relationship between java memory allocation needs and available memory/swap -


when starting new java process getting error sounds this:

"could not reserve enough space 16775168kb object heap" 

looking @ log file produced jvm see following:

# there insufficient memory java runtime environment continue. # native memory allocation (malloc) failed allocate 32744 bytes chunkpool::allocate # possible reasons: #   system out of physical ram or swap space #   in 32 bit mode, process size limit hit 

at same time @ bottom of log file there statement:

memory: 4k page, physical 67098420k(52119824k free), swap 86034256k(8132400k free)  vm_info: java hotspot(tm) 64-bit server vm (25.45-b02) windows-amd64 jre (1.8.0_45-b15), built on apr 30 2015 12:40:44 "java_re" ms vc++ 10.0 (vs2010) 

how can java process fail allocate 1gb of memory if @ same time there bigger amount of memory available both physical memory , swap space?

thanks lot

boris

excerpt log file:

# # there insufficient memory java runtime environment continue. # native memory allocation (malloc) failed allocate 32744 bytes chunkpool::allocate # possible reasons: #   system out of physical ram or swap space #   in 32 bit mode, process size limit hit # possible solutions: #   reduce memory load on system #   increase physical memory or swap space #   check if swap backing store full #   use 64 bit java on 64 bit os #   decrease java heap size (-xmx/-xms) #   decrease number of java threads #   decrease java thread stack sizes (-xss) #   set larger code cache -xx:reservedcodecachesize= # output file may truncated or incomplete. # #  out of memory error (allocation.cpp:273), pid=17164, tid=21188 # # jre version: java(tm) se runtime environment (8.0_45-b15) (build 1.8.0_45-b15) # java vm: java hotspot(tm) 64-bit server vm (25.45-b02 mixed mode windows-amd64 compressed oops) # failed write core dump.  #  ...  vm arguments: java_command: com.uniper.rest.bridge.externalbridge -xmx128m java_class_path (initial): d:\progs\endur-~1\en57bd~1\bin\otk\openjvs... launcher type: sun_standard  environment variables: java_home=d:\progs\endur-64bit\endur_v15_0_05052016eon_07072016_1104\bin\olf_dependencies\java\jdk1.8.0_45\ ...   ---------------  s y s t e m  ---------------  os: windows server 2008 r2 , 64 bit build 7601 (6.1.7601.23807)  cpu:total 8 (4 cores per cpu, 2 threads per core) family 6 model 26 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht, tsc, tscinvbit, tscinv  memory: 4k page, physical 67098420k(52119824k free), swap 86034256k(8132400k free)  vm_info: java hotspot(tm) 64-bit server vm (25.45-b02) windows-amd64 jre (1.8.0_45-b15), built on apr 30 2015 12:40:44 "java_re" ms vc++ 10.0 (vs2010) 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -