| ▲ | xxs 6 hours ago | |||||||||||||||||||||||||||||||||||||||||||
What do you mean - if Java returns memory to the OS? Which one - Java heap of the malloc/free by the JVM? | ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | cogman10 6 hours ago | parent [-] | |||||||||||||||||||||||||||||||||||||||||||
Java is pretty greedy with the memory it claims. Especially historically it was pretty hard to get the JVM to release memory back to the OS. To an outsider, that looks like the JVM heap just steadily growing, which is easy to mistake for a memory leak. | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||