Question: what is gc allocation failure?
Answer: Allocation Failure happens when there isn't enough free space to create new objects in Young generation. Allocation failures triggers minor GC (to do a minor collection) to free up space in the heap for the allocation request. With minor GC, space is freed for the new allocation to to be made in the young generation.