Much has been written about how Electron apps take a lot of memory; after all, each one is running its own instance of a web browser, and pulling in all of the overwhelming amounts of support code that implies. Slack can easily end up taking over 1GB of RAM, and Discord usually takes a few hundred as well. As someone who used to use IRC back in the 90s, when a single task taking even 1 MB of RAM was considered a lot, this feels rather horrifying:

Activity Monitor showing memory usage for Slack and DiscordActivity Monitor showing memory usage for Slack and Discord

On my iMac, with 24GB of RAM, that means that chat apps – doing the equivalent of an IRC client (granted, with a bit more visual stuff, but not that much) – are taking about 6% of my RAM!

But come to think of it, back in the mid 90s, when a typical computer had 8MB, an IRC client probably took around 400KB of RAM, which is also 6%. So have things really grown proportionally in that way?

Well, I’ve figured out a way of getting these chat apps to take half as much of my total RAM overall, but first, let’s talk about my personal history of memory usage.

Read more…