βParNew (promotion failed)β means that some objects from the young generation will be promoted to the old generation, but there is not enough space. Perhaps the old space is almost full, or perhaps the advanced object is too large and there is not enough space to continue.
A simple solution that is trying to increase the size of the old generation. Or you can try using the G1 algorithm, this can reduce the problem of a fragment of the old generation.
If both methods cannot solve your problem, you may need to look at your code to reduce the size of one object.
Only my 2 cents
Best regards, Leon
source share