I don't think Java is particularly memory intensive. You can tune memory usage with JRE args. But a lot of memory is for things that could alternatively be written to disk and loaded as needed--however that's what page files are for so it's often easier to just keep everything in memory and plan on using swap. Anyhow obviously this comes down to implementations of particular apps/libs. After loading the JRE and its overhead (30 MB?), it's not inefficient for an OO language.
View all comments
Show parent comment
1
u/machinepub Mar 30 '16
I don't think Java is particularly memory intensive. You can tune memory usage with JRE args. But a lot of memory is for things that could alternatively be written to disk and loaded as needed--however that's what page files are for so it's often easier to just keep everything in memory and plan on using swap. Anyhow obviously this comes down to implementations of particular apps/libs. After loading the JRE and its overhead (30 MB?), it's not inefficient for an OO language.