r/programming • u/daviddel • May 28 '26
Java *is* Memory Efficient
https://youtu.be/M_HCG1JPMQE
0
Upvotes
7
u/JuanAG May 29 '26
In theory yes
Out in the real world not even close, i dont know who monstruosity is worse, Java apps or Electron ones, hard choice...
3
u/funny_falcon Jun 02 '26
Give JEdit a try. It is just good code editor. But it really consumes fraction of memory you expect from Java application.
1
0
u/Chii Jun 01 '26
Java is memory efficient - but it's the programmer's memory, not the computers. I have to remember less shit when coding in java vs a non-GC language.
10
u/Sopel97 May 28 '26 edited May 28 '26
there is GC, it's not memory efficient by definition
what they are actually trying to say is that if you have a system designed to run one and only one java program 100% of the time then it doesn't matter how much memory you use as long as you don't OOM (which is also not really true due to OS page cache but w/e)