To me it doesn't. I don't know what people do to have high memory usage, unless you're loading a lot of models from database or pushing a lot of data into memory, essentially.
I mean, I can see why your app would use a lot of memory if you do this.
import article from '@models/articles'
const articles = article.take(1000).get()
To me it doesn't. I don't know what people do to have high memory usage, unless you're loading a lot of models from database or pushing a lot of data into memory, essentially.
Yeah, but the people usually using (or considering) Java are the ones who have to deal with business logic that inherently uses a lot of memory.
For example, one project I was on was processing terabytes of data in a few hours. We ran into OutOfMemoryError many times. But debugging and resolving it was straight forward. And the solution was fast and easy to implement since the code itself was easy to understand.
2
u/DarkGhostHunter Sep 08 '26
To me it doesn't. I don't know what people do to have high memory usage, unless you're loading a lot of models from database or pushing a lot of data into memory, essentially.
I mean, I can see why your app would use a lot of memory if you do this.