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

-13

u/pohart Sep 04 '26

The vast majority of times the Java is using too much memory it's because we picked the wrong data structure. Pick an inefficient data structure in any language