TelegramSwift
TelegramSwift copied to clipboard
Very big memory leak
In the past few weeks, every now and then while having telegram open in the background, I will get the notification that I have run out of application memory. And Telegram will have around 100GB of memory used, and it increases very fast (a gigabyte every few seconds)
This has been happening the last few versions, but this is version 8.5.226936 Stable. I am running it on an M1 MacBook Pro with macOS 11.6
I can't explain very precisely how to reproduce it, as it happens seemingly randomly, and usually while I am working in a different application.
The same just happened to me, 8.5.226936 Stable consumed all available memory

Same happened to me as @diddy0dante M1 Pro '106GB' application out of memory crash 8.5.226936 Stable macOS 12.2.1 (21D62)
M1 Pro
Any scroll of chats cause constantly increasing memory size

In my case the problem was resolved after upgrading to Monterey 12.2. Looks like it's a bug in MacOS. Now Telegram consumes 500-700mb of ram during the day.
Running the latest version of MacOS Monterey, seems to still be an issue.
System:
- Macbook Air M1
- 16 GB Ram
- MacOS Monterey 12.3.1
Ran into this today. How is this NOT fixed yet?
Ran into this today. How is this NOT fixed yet?
My guess is that the contributors of this project don't use Apple Silicon Macs and can't reproduce it. It seems everyone here (in this thread) has some variant of M1.
It's notoriously difficult to fix a random memory leak that isn't consistently reproducible with a specific setup.
Ran into this today. How is this NOT fixed yet?
My guess is that the contributors of this project don't use Apple Silicon Macs and can't reproduce it. It seems everyone here (in this thread) has some variant of M1.
It's notoriously difficult to fix a random memory leak that isn't consistently reproducible with a specific setup.
I should have mentioned this was on a x86-based machine. Specifically, the 2014 iMac Retina 5k, so it doesn't seem to be specific to Apple silicon.
Oh, interesting. Then I'm surprised no one has figured out the cause yet.
2GB+ RAM usage after opening several chats on MBA M1 16GB
9.3.1.241825 Stable
Ran into this today. How is this NOT fixed yet?
My guess is that the contributors of this project don't use Apple Silicon Macs and can't reproduce it. It seems everyone here (in this thread) has some variant of M1.
It's notoriously difficult to fix a random memory leak that isn't consistently reproducible with a specific setup.
the thing is, the developer just doesn't give a shit. And somehow it's an official telegram client.
The issue is easily reproducible even on intels, just keep the client open for some time and get a few gigs sucked in.
This issue is still persisted on Sonoma 14.4.
The same is here. still even in Sequoia (and before on Sonoma); 2-3 gigs for nothing.
This issue is still persisted on Sonoma 14.4.