Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The JVM allocates at start a portion, takes what it needs whenever it needs until the max, but never releases memory back to the OS. So in a given moment a 6GB vm is a 5GB process but internally is using just 3GB.


The standard JVMs do give memory back. The standard settings are not very friendly to do so but it does work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: