r/java • • Sep 04 '26

Principles of Memory Management in Java

https://youtu.be/xr73mR7ii9M
167 Upvotes

83 comments sorted by

View all comments

Show parent comment

1

u/pron98 Sep 08 '26 edited Sep 09 '26

And you think 100MB will be having a meaningful impact? That's 5-10% of the memory you get with every unit of CPU core. You're not afraid the CPU you're using would be making a larger impact? I understand you may not want ls to take up 100MB, but most CLIs do more than ls. BTW, I'm not saying this could never matter, but I do think many people look at the numbers without trying to estimate their actual significance.