this post was submitted on 02 Dec 2025
208 points (98.6% liked)

Technology

77084 readers
1163 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] cyberpunk007@lemmy.ca 1 points 2 days ago (1 children)

It's not a windows is shit at managing memory problem though. If you have 1MB of RAM left and you open something, something has to happen. A process killed, an alert generated, something moved to disk instead of RAM (paging), or a system lockup or something. This is the management piece. What to do when you're out.

[โ€“] ragepaw@lemmy.ca 2 points 2 days ago

That is entirely a shit at managing memory problem.

If you have 1 MB of RAM left, firstly, your OS has not properly managed it's resources. It should have reserved system RAM. Secondly, a good memory manager will have swapped out unused, or low priority pages.

And that's not just a system issue. A well developed piece of software will unload (or never load) parts of the software that are not needed at runtime.

I'm going to give you a great example I just read about today, about bad programming practices. The install of Helldivers 2 has been reduced from 154GB to 23 GB. That's a reduction of 85%. This was driven by de-duplication of code. So, while this is a storay about storage space, ask how many modules and functions were duplicated, and how many of those were loaded independently into RAM.

Bad programming in one area, means bad programming in all areas.

With your 1 MB example, I would ask if all of the devs who created all of the other programs on the system had written better and more efficient code, would you still need more RAM? The answer is no.