# Running out of memory: the message depends on how the collector fails (JDK 25, -Xmx64m)

## G1, 1 MB arrays
kept 31 arrays of 1 MB then: java.lang.OutOfMemoryError: Java heap space

## G1, tiny objects
kept 1215487 tiny objects then: java.lang.OutOfMemoryError: Java heap space

## Parallel, tiny objects
kept 1160801 tiny objects then: java.lang.OutOfMemoryError: Java heap space
