We noticed the Data Collector is shutting down on it's own. We restart it and it will stay running for a while but then shutdown again.
Version: Any
Component: Data Collector
The following error is seen in the /opt/CA/IMDataCollector/apache-karaf-4.4.6/hs_err_pid28290 log:
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 3548381184 bytes for committing reserved memory.
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_linux.cpp:2836), pid=28290, tid=28297
Running the "free -h" command on the Data Collector system is showing the following:
free -h
total used free shared buff/cache available
Mem: 15G 13G 181M 750M 2.2G 1.3G
Swap: 4.0G 4.0G 0B
The error states if failed to map 3548381184 bytes (3.5 GB) of memory.
There is only 1.3 GB available.
Also, there is zero swap available.
Increase memory and swap on the Data Collector system.