Incredible improvements in the Twitter app lately. It once struggled to take up even half this much system memory
@caseynewton Mother of God...
@MattD @caseynewton I've already pulled over! I can't pull over anymore!
@caseynewton Hardcore memory management.
@caseynewton I didn't even know Twitter had a desktop app?
@thebishopgame @caseynewton iOS apps can be designed to also run on Macs with Apple silicon. A Mastodon-related example would be Ice Cubes (https://apps.apple.com/us/app/ice-cubes-for-mastodon/id6444915884).
Ice Cubes for Mastodon App - App Store

Download Ice Cubes for Mastodon by Thomas Ricouard on the App Store. See screenshots, ratings and reviews, user tips, and more apps like Ice Cubes for Mastodon.

App Store
@caseynewton OMG, you still using that outdated service?
@caseynewton maybe they're running it all locally to save elon server costs 🤔
@caseynewton Geohot may not believe in infinity, but infinity appears to believe in him
@caseynewton They gotta run those microservices somewhere, apparently on your laptop.
@caseynewton Mem, huh? Is it sticking? I never looked into it deeply.
@caseynewton In fairness, this is a rare twitter thing that probably can't be blamed on ol' Saint Car; that app's always been horrendous.

you have to pay 8 bucks to get the memory leaks closed

@caseynewton

@caseynewton Musk turned off all them random servers and now user’s computers are doing the work instead. Or he’s installed a bitcoin miner in the client. Or both.

@caseynewton Obviously it's not using that much RAM (probably!) and not that much swap space (I hope!) But MacOS has given the application enough rope to hang itself by and it has done so. 📿

This is a hopefully unusual message that the OS is unable or unwilling to build any more Virtual Memory swap on permanent storage.

@caseynewton maybe it has to work in the crypto mines now.
@caseynewton another odd thing is that chrome is taking just 490MB. Do you have only half a tab open?
@caseynewton wait. twitter has an official desktop app?
@caseynewton 74% of that is just the bit that puts "Posted from Twitter for iPhone" under every post
@caseynewton Yeah, it’s funny, but something like that is obviously just a memory leak. It’s by no way the normal memory usage. Could happen to every app with a bug that leads to an endless loop or a strong reference that doesn’t remove its object from the memory and then you instantiate it again and again so it gets bigger the longer you run it.

@caseynewton

- (void)dealloc {
free(twitterApp);
}

🙂

@caseynewton

Yeah, they removed all those "batched RPC calls"!

@caseynewton 76GB. That's what we just a few years ago used to call a Very Large Database.
@caseynewton That's absolutely appalling. A few years ago I was running an entire medium business off of a couple of hypervisors with only 64 GB of RAM apiece.
@caseynewton If you were running Linux, it would automatically kill the wrong process for you.
@caseynewton He wasn't kidding when he said he wanted it to be the everything app.
@caseynewton what, how is that even possible

@caseynewton

What are the odds Elmo slipped in a DogeCoin miner?

@caseynewton @KimPerales Makes me wonder what data it’s collecting.
@caseynewton elon recovering his billions by farming 1 BTC at a time on his users machines

@caseynewton Holy crap that's bigger than my "definitely not porn" folder*.

*it is not bigger than my "definitely not porn" folder and this statement is made entirely for the purpose of entertainment

@caseynewton @webuiltthiscity I deleted all native Twitter apps the day they banned 3rd party developers. Glad to reconfirm that was the right decision. 🫠

@caseynewton Twitter now finally using the best allocator ever, `muskmalloc`:

`void * muskmalloc(size_t sz) {`
` // EM: this kicks ass, simple and clean
return mmap(0, sz, (PROT_READ | PROT_WRITE), MAP_PRIVATE | MAP_ANON, -1, 0);
}

void muskfree(void * ptr) {
// EM: No free for you, pedo freeloader
}`

@caseynewton
If you think it uses a lot of memory now, just wait until Elon turns it into an "everything" app service!
@caseynewton marvel snap be like “gimme that”
Protip: if you use it from within an in-private browsing window it will work better than it seems to be right now --and you'll be much harder to monetize.
@caseynewton If any twitter devs know the reason they better keep their mouth shut or they will be fired for explaining .
@caseynewton I thought that Chrome had memory management issues

76.20GB? That takes the cake, as well as the entire fucking table and everything else on it.

How do you even
have such shit memory management?