Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is [Full GC (Allocation Failure)

I am seeing Allocation failure in Full GC logging message.

What is Allocation Failure when Full GC?

Is it safe to ignore?

like image 662
Java App Expert Avatar asked Oct 26 '15 21:10

Java App Expert


1 Answers

Allocation failure means that there was no enough contiguous memory available in the heap to allocate. GC runs as a result of allocation failure. If there is enough space available after GC has completed then all is good. Allocation failure is different from GC failure. GC failure happens when even after GC has completed there is not enough space available to assign to process.

like image 105
pawinder gupta Avatar answered Oct 04 '22 01:10

pawinder gupta