4 ms·
Java will use as much memory as you give it. Higher heap size is better for performance up to around 32GB. For most Java apps you can limit heap to 256M or less
by slackingoff2017 9y ago
Java will use as much memory as you give it. Higher heap size is better for performance up to around 32GB. For most Java apps you can limit heap to 256M or less with little consequence.
AFAIK Java uses less ram than Python and JavaScript, only common languages that beat it are Golang and C/C++
- nextos 9y agoAnd memory used will be hopefully quite lower with value types, coming sometime in the future: http://www.jesperdj.com/2015/10/04/project-valhalla-value-types/ http://www.jesperdj.com/2015/10/04/project-valhalla-value-ty...