GC (Allocation Failure) messages in output.log

Description

We have three OpenNMS servers which do basically the same thing. Two of the three have errors similar to:

296551.058: [GC (Allocation Failure) [PSYoungGen: 1864545K->30182K(1849344K)] 3140192K->1339475K(5381632K), 0.0126833 secs] [Times: user=0.20 sys=0.00, real=0.01 secs]

We thought this was a Java Heapsize issue and increased the heap but the errors continue on that system. Are these messages errors/concerns?

Environment

RHEL6 meridian-2015.1.0-1

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jesse White June 19, 2015 at 9:09 AM

These messages are normal, 'Allocation Failure' is what triggered of the minor GC cycle. After freeing up unused objects, the JVM was able to allocate the requested object. (Otherwise you would see OutOfMemoryError exceptions.)

Done

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created June 19, 2015 at 8:57 AM
Updated January 27, 2017 at 6:15 PM
Resolved June 19, 2015 at 9:10 AM