Why does Java 8 GC logs "Allocation Failure" in young generation?

Solution Verified - Updated -

Issue

  • Why does Java 8 GC logs "Allocation Failure" in young generation ?
2015-06-16T13:23:09.424-0400: 1872.996: [GC (Allocation Failure) [PSYoungGen: 561821K->20572K(613376K)] 659843K->118602K(2011648K), 0.0329076 secs] [Times: user=0.04 sys=0.00, real=0.04 secs] 
2015-06-16T13:31:12.042-0400: 2355.614: [GC (Allocation Failure) [PSYoungGen: 551004K->25542K(619008K)] 649034K->123580K(2017280K), 0.0774830 secs] [Times: user=0.15 sys=0.00, real=0.07 secs] 
2015-06-16T13:44:20.370-0400: 3143.942: [GC (Allocation Failure) [PSYoungGen: 562630K->22931K(616960K)] 660668K->120977K(2015232K), 0.0326503 secs] [Times: user=0.06 sys=0.00, real=0.03 secs] 
2015-06-16T13:58:51.005-0400: 4014.577: [GC (Allocation Failure) [PSYoungGen: 560019K->24357K(623616K)] 658065K->122411K(2021888K), 0.0500686 secs] [Times: user=0.07 sys=0.00, real=0.05 secs] 

Environment

  • Java 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content