• 0 Posts
  • 85 Comments
Joined 6 months ago
cake
Cake day: June 16th, 2025

help-circle














  • boonhet@sopuli.xyztoProgrammer Humor@programming.devDeleting Files
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    3 months ago

    I used to, all the time

    This was in the XP days so I didn’t know how to figure out which service it was, I was a kid. But some svchost process would manifest as a task to switch to in the alt + tab switcher and made the computer slow and weird. I just killed it. No idea if it was a bug or a virus.




  • boonhet@sopuli.xyztoProgrammer Humor@programming.devGot Em!
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    3 months ago

    But the thing is, you can’t use all your clothes at once, your memory CAN all be useful in the moment, hence no need to be anal about leaving it unused.

    In your example, those tools are providing you with insight and you could turn them off. They have to index a bunch of files and build models of them in memory.

    Then when you actually run your compiler, it’s helpful that your OS has probably “wasted” some RAM keeping source files cached after a few runs, even the ones you haven’t edited recently.


  • boonhet@sopuli.xyztoProgrammer Humor@programming.devGot Em!
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    3 months ago

    That’s memory not hogged by a single program, making me able to use it for other stuff.

    But it’s not unused memory.

    People have this weird fetish with free memory. Remember all the idle app killers on Android, etc?

    Besides, if I’m playing a game, I WANT it to have preloaded assets so I don’t have to wait for them to load from the NVMe. I also don’t want the developer to spent half their time reducing memory usage by 10 kilobytes - I’d much rather that time is spent on making the game do more things.

    I wait for the OOM killer to fire up before saying, “it’s full”.

    Then you’re already different from most the “everything uses too much memory these days” folks. Most look at the Windows task manager which shows 14 gigs in use out of 16 and go buy more - because Windows dared use 8 gigabytes of cache that it was completely willing to free if another program asked for it.

    In fact, I should be panicking right now:

                   total        used        free      shared  buff/cache   available
    Mem:        32789900    21931604      283888     2760372    13429988    10858296
    Swap:              0           0           0
    
    

    Nearly no free memory!

    making it hard to even use the clang tools on large projects.

    I hope you’re not claiming that to also be wasted memory. clang/LLVM is a pretty complex toolset and does damn near close to magic to optimize the binary it shits out.


  • boonhet@sopuli.xyztoProgrammer Humor@programming.devGot Em!
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    3 months ago

    I can let updates continue in the background

    That’s used memory

    I can open a web-browser on a second monitor

    That’s used memory

    I can afford to buy less memory

    But I bet you don’t, because you look at your computer say it’s all being used - when actually a lot is being used for caching and is freed upon request.

    I can run a server on the same computer, instead of having to buy another one to become a dedicated server

    That’s, again, used memory