Comment by xxs
16 hours ago
Java has a quite strict max heap setting, it's very uncommon to let it allocate up to 25% of the system memory (the default). It won't grow past that point, though.
Baring bugs/native leaks - Java has a very predictable memory allocation.
we aren't talking about allocation, tho
we are talking about DEallocation