Error with JDK


(sunilbabu) #1

OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c5330000, 986513408, 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 986513408 bytes for committing reserved memory.

An error report file with more information is saved as:

/usr/share/logstash/bin/hs_err_pid39969.log

[sunil@localhost bin]$


(Mark Walkom) #2

How much heap did you give Logstash, how much does the host have.

Also, please don't just post a log file and expect people to assist you. You need to explain what you are doing as well.


(sunilbabu) #3

How to set heap and all?


(sunilbabu) #4

HI team,

Anyone can help on this issue?


(Magnus Bäck) #5

Anyone can help on this issue?

If you want help then answer the questions Mark had.


(sunilbabu) #6

/proc/meminfo:
MemTotal: 3863544 kB
MemFree: 130900 kB
MemAvailable: 110916 kB
Buffers: 40 kB
Cached: 119636 kB


(sunilbabu) #7

-Xms1g
-Xmx1g


(Magnus Bäck) #8

4 GB RAM should be okay for a 1 GB Java heap, but I guess it depends on what else is running on the system.


(system) #9

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.