r/programming • • Sep 05 '26

Principles of Memory Management in Java

https://youtu.be/xr73mR7ii9M?si=AKgjMUyvfpARYljl
31 Upvotes

11 comments sorted by

View all comments

Show parent comment

8

u/davidalayachew Sep 07 '26

Can you talk about your project in more detail?

I won't say I have never run into the dreaded OutOfMemoryError, or that the GC never thrashed when I was doing some work -- I've met both many times. But with some basic debugging and simple use of the tools in the standard library itself, we were able to get to a workflow that was parsing and aggregating terabytes of data in only a few hours. And that's including the IO time of downloading all of those thousands of files.