Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
GieltjE18197yLooks like our import tool, it devours 10GB+ ram and max cpu over all cores for a few hours (even on high end machines).
It's like everything keeps getting more and more ram hungry without good reason.
I'm gonna sit in a corner and remember when 64k ram was insane. -
jobylie67067y@iAmNaN i once saw a software estimate 80 GB required for a task. It was a particle simulation. Had to change some parameters to run the job and it was already a great computer.
-
Daniil1067yYou can never have too much ram.
If you think you have just locate your temp/swap files on ram.
If you still think you have too much ram, mount a virtual disk (drive) on your ram. And install Programms there.
You will never have enough ram xD -
There was a point in time when "enough" was measured in kilobytes. Who knows what the future holds?
-
why not use ram if there are free so many? try do more complex things (these dockers and general vms are fine)
-
@GieltjE there is a pretty good reason. A lot of data requires a lot of RAM. You could make it use less, but then it would be slower.
I've been running an import job with some SQL queries involved. PostgreSQL didn't take up more than 500MB RAM. But then I tuned its config to use more memory, and the import ran twice as fast, but it devoured 14GB of RAM easily in one of those queries.
Memory makes things work faster. -
GieltjE18197y@apisarenco memory makes everyting faster, unused ram is wasted ram.
But even stupid basic things consume tens of megabytes of ram,, simple csv parsers, empty programs e.t.c. think it's getting a bit out of control. -
@GieltjE I saw a lecture at MIT, Computer Science 101, the O notation and such. The professor illustrated that performance is like a currency in programming. If you have a lot and don't use it - you don't get anything. If you waste it all at the beginning - you'll have a bad time in the long run. Awesome analogy.
Anyway, I think that today hardware resources are so cheap and so available that people forget the ridiculousness of using up megabytes of RAM on a simple script.
But then again software today has more features than ever before. This has high costs in terms of performance. As long as there is enough RAM in my machine, I find no reason to be complaining. But whenever I write core, I still remember that there are people who will be using it on just 1-2 GB of total RAM.
Related Rants
Who says 16GB of RAM is enough ?
undefined
ram
chrome