30
cjbatz
5y

Can anybody explain why a chat app needs almost as much memory as full blown IDE

Comments
  • 16
    It's very simple, it runs on NodeJS.

    This is all you usually need to know.
  • 11
    Stop whining about memory usage. Memory's purpose is to be used; it only becomes a problem if all of it is filled and the OS starts paging.
  • 11
    How come a full blown IDE only needs as much memory as a chat app? 😌
  • 11
    Almost?

    My coleague killed a slack process last week. It was 1.97 GB in RAM.
  • 2
    @netikras I don’t know if you’re serious or joking!
  • 2
    @grumpyoldaf oh I am very serious
  • 9
    @kamen So it's okay to write shitty bloated applications, just because there is enough ram/cpu power to handle it? Sounds like you'd be a good fit for the Google Chrome team or any dev position at Microsoft.
  • 2
    @Gogeta70 It's not okay, but it is what it is. Yes, you (or someone else) can probably write an app that has the same functionality (or more) and is more efficient in terms of hardware resources, but guess what: you don't have Microsoft's user base, so the hypothetical app won't be used that much... Same thing with Chrome, Skype, Slack, or any other widely used piece of software.
  • 0
  • 0
  • 2
    Ahhh... software taking a bunch of memory irritates me a lot!
  • 2
    @C0D4 Then i am working on Node.js on the platform build on node.js.
  • 0
    @kamen Paging ? You mean like storing pages of memory to disc ? Cuz paging is also the thing with virtual memory being split to pages , right ? Just curious about this topic
  • 0
    @shinobiultra The first one, not the second.
  • 0
    Because your IDE is underutilised. My Visual Studio regularly peaks 8GB when debugging an expecially THICC project.
  • 2
    @kamen No, the purpose of memory is to be shared by all processes and the rest used by the os for caching and stuff. Applications should only ever use as much as necessary for maintaining performance, everything else should be optional. Forcibly caching hundreds of megabytes inside an application is like shoving several full cakes down someone's throat because they asked for a slice.
Add Comment