3 ms·
Oh, I always wanted to use 4gb of RAM to add files to Git.
by eugenekolo2 9y ago
Oh, I always wanted to use 4gb of RAM to add files to Git.
- M4v3R 9y agoDid you actually tried it and did it use 4GB of RAM for you? I did and it used about 120 MB of RAM, which is not tiny, but not even in the ballpark of your figure. I know hating Electron apps is the new fad, but it would be nice to check the facts before you grab your fork.
- jrs95 9y agoHow long did you leave it running? In my experience electronic apps tend to leak memory for some reason. Atom starts up at a couple hundred megs, and actually does end up at around 4GB. Same with Slack, although it's gotten better. I used to actually have a launchd script that killed Slack and restarted it every 30 minutes to keep the memory usage down.
- M4v3R 9y agoI left it running when I first wrote the comment. Went back to it just now, after nearly two hours, and the memory usage didn't increase. Still at 120-130 MB. My guess is that compared to Slack, Github app doesn't really do much when idle. Slack fetches user statuses, new messages, notifications and so on. When you have an open channel with ongoing conversations that will add up in the RAM. This app doesn't seem to do anything when idle, so the RAM usage doesn't increase.
- jrs95 9y agoThat makes sense. I think with Atom the culprit is likely some poorly written plugins more than the editor itself, too.
- juandazapata 9y agoLeave it open for a couple of hours and you'll see those 4GB coming up quickly.
- M4v3R 9y agoI did, see my above comment.