I am getting this error on my server Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007fe63ff40000, 262144, 0) failed; error='Cannot allocate memory' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 262144 bytes for committing reserved memory. # An error report file with more information is saved as: # /var/lib/tomcat8/bin/hs_err_pid14264.log Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007fe64b5f8000, 12288, 0) failed; error='Cannot allocate memory' (errno=12) [thread 140627084805888 also had an error]
My server has 2 GB memory and I have 1024mb for Maxmen in catalina.opts How must be the memory amount ? TIA