← Back to context

Comment by NooneAtAll3

7 hours ago

we aren't talking about allocation, tho

we are talking about DEallocation

it's a reply to:

"To an outsider, that looks like the JVM heap just steadily growing, which is easy to mistake for a memory leak."

I cut the part that it's possible to make JVM return memory heap after compaction but usually it's not done, i.e. if something grew once, it's likely to do it again.