Hi. Telegram v12.8.3 is crashing on my Samsung SM-S938B, Android16, OneUI 8.5, with OutOfMemoryError in various situations, mainly related to attaching media. Currently it can be reproduced consistently when attaching a photo and opening editing tab, as in the video attached. The issue remains for several months now since some time in March through various versions of Tg and phone software. Not sure which versions it started appearing with exactly. No other devices seem to be affected. Reinstalling Tg/clearing cache/force stopping the app has zero effect on the issue. I'm also attaching a log tail with the crash info collected by Telegram (it doesn't log the crash moment consistently, btw)
hey, thanks for replying. yes its happening with almost any picture, not 16k, sometimes screenshots, sometimes random memes from internet. typically it happens more often if telegram is already open for a while, not if it's freshly started - looks more like a memory leak or something. I don't have any machine with adb on me today, i could send over the logs tomorrow. it is happening in latest beta too though.
done, https://dropmefiles.com/6WMaO the last crash was at 10-06 09:42:15.075 1000 2269 3260 I am_crash: [20255,0,org.telegram.messenger.beta,949730884,java.lang.OutOfMemoryError,Failed to allocate a 27064339 byte allocation with 22388736 free bytes and 21MB until OOM, target footprint 536870912, growth limit 536870912,VMRuntime.java,-2,0]
https://pastebin.com/4qbg3emY
the last crash was at
10-06 09:42:15.075 1000 2269 3260 I am_crash: [20255,0,org.telegram.messenger.beta,949730884,java.lang.OutOfMemoryError,Failed to allocate a 27064339 byte allocation with 22388736 free bytes and 21MB until OOM, target footprint 536870912, growth limit 536870912,VMRuntime.java,-2,0]