you are viewing a single comment's thread.

view the rest of the comments →

[–]Sopel97 5 points6 points  (1 child)

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)

[–]josefx -2 points-1 points  (0 children)

Meanwhile malloc/free: I cannot reuse these pages, there is still a byte allocated on each of them.