Error with JDK

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]$

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.

How to set heap and all?

HI team,

Anyone can help on this issue?

Anyone can help on this issue?

If you want help then answer the questions Mark had.

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

-Xms1g
-Xmx1g

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.

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