solarizeddev
solarizeddev
Claude's take on the issue: > Suspicion is parse-time amplification of an oversized event from relay.mostr.pub — a huge, repetitive tag array (small once permessage-deflate-compressed) explodes during parse into hundreds...
Managed to crash it again. [Amethyst log 8c0ac52769ef.txt](https://github.com/user-attachments/files/29227339/Amethyst.log.8c0ac52769ef.txt)
Mmm the app crashes because it tries to parse an incoming event that's too big. The 512MB is AOSP cap not Graphene's, should happen on any device. Plus photos, media...
Then is a memory management issue. I've profiled and dumped memory and this is Claude's proposals: > - Cap global parse concurrency — a shared semaphore (or one shared limited...
Also there seems to be another bug. When TOR is disabled the app continues to try onion addresses on a loop contributing to memory pressure. https://github.com/solarizeddev/amethyst/commit/257949df48dc01e3b3efba672d744c455fe396fb https://github.com/solarizeddev/amethyst/commit/5dc53aea8eb57f73e117524cb80505aa5e3754bc
I leave the logs here in case you want to tackle the issue. I am experiencing crashes every single time, happy to help if you need it. [Amethyst log 68b200af287e.txt](https://github.com/user-attachments/files/29298672/Amethyst.log.68b200af287e.txt)
Sure let me try If I can make it crash with the npub instead of the nsec. I will try and get back with results.
Ok managed to crash it using my npub1km23zmhctzmsdx9eg8p5rfduvkey6ed83r8su67ydmk8zcu3hgnqank6dw It took more effort than with nsec. Basically what I did is stress testing by scrolling endlessly bouncing between Global Feed, All...
No it didn't crash while doing Relay Sync. Relay Sync ended normally and it crashed every single time while scrolling All Follows or clicking on a post or profile, never...
Happens during foreground but while testing the flow that I posted, I put the app a couple of times in background so there should be a couple of onPause/onResume events...