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)
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]
For me, I feel it did become considerably better, however fundamentally the issue is reoccurring after some edits; took me like 1.5 mins on freshly opened app to crash it, a bit less if the app stayed open for some time prior to going into the editor
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]