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

You can set the minimum and maximum heap size using -Xms and -Xmx, e.g. -Xmx512M will limit the heap to 512 MB.


yeah, but I can't get it to run below 100mb for the whole process. heap is around 30mb, perm gen around 25mb, then another 50 somewhere.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: