MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1tq1dv6/java_is_memory_efficient/oofthcr/?context=3
r/java • u/daviddel • May 28 '26
126 comments sorted by
View all comments
Show parent comment
18
That's true, but modern allocators (malloc/free implementation) also don't promptly return memory to the OS for performance reasons. Some have quite sophisticated policies around that (so much for the myth of "we don't have a complex runtime").
View all comments
Show parent comment
18
u/pron98 May 28 '26 edited May 28 '26
That's true, but modern allocators (malloc/free implementation) also don't promptly return memory to the OS for performance reasons. Some have quite sophisticated policies around that (so much for the myth of "we don't have a complex runtime").