Avatar
halfnull
cb567040a76184ff16bb64cd6bd4e7e8088350802fb09c1aa70007d434f9dbc6
me

maybe it's just a copulation mechanism

the states are just as absurd in some markets. something's gotta give.

agree or disagree, there is something to be questioned from every and any source.

#news #bias #agenda #justthefactsmaam

yep I haven't seen a crash since I updated. feels really snappy overall too.

Replying to Avatar Vitor Pamplona

### #Amethyst v0.72.0-APLHA: New Memory Management

This new version constantly prunes the memory used by downloaded events by deleting them from memory after use. This leads to re-downloading some replies, zaps, and reactions when the user brings an event back into view. The re-downloading will be removed once we finish our local database implementation.

- Adds aggressive memory management to avoid Out of Memory

- Fixes the Back button leaving the app issue

- Interns event strings to avoid duplicating memory with hashes and pubkeys

- Improves search by looking into all tags of all events

- Improves Tamil Translations by @velram

- Adds missing translations cs/de/se by nostr:npub1e2yuky03caw4ke3zy68lg0fz3r4gkt94hx4fjmlelacyljgyk79svn3eef

- Adds cryptographic and base event support for NIP-24 (GiftWraps and Sealed Gossip)

- Increases confidence requirements for the Translator

- Refactors the event creation into a Factory

- Adds new kinds to the hashtag and geotag search feeds

- Fixes the explainer text of the geohash addon

- Updates to the latest libraries

- Removes Leakcanary for debug builds

- Cleans up unused values in strings

- Fix: Ignores past version of addressable content in feeds

- Fix: Avoids showing community definition types in the community feed.

- Fix: Avoids downloading 1000s of Nostr Connect events that some clients are generating.

Download:

- [Play Edition](https://github.com/vitorpamplona/amethyst/releases/download/v0.72.0/amethyst-googleplay-universal-v0.72.0.apk)

- [F-Droid Edition](https://github.com/vitorpamplona/amethyst/releases/download/v0.72.0/amethyst-fdroid-universal-v0.72.0.apk)

this release is dope AF. thanks for fixing memory management!

Replying to Avatar halfnull

nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z forgive my ignorance on this but I get a lot of crashes in amethyst when I even quickly view a user profile who has more than ~500 followers. it seems as though it's trying to load too much memory for the app to handle. it used to be rare but now seems like most people I follow have that many followers and I basically can't view any profiles at all.

would it be possible to limit this somehow to a max memory usage and/or automatically free up memory of any data not in immediate view as soon as some arbitrary number is reached as to prevent the overload?

or maybe some kind of pagination/infinite-scroll that frees up memory on the fly?

maybe this is a huge ask or not a quick fix. apologies if that's the case. keep up the great work. still my fav android nostr app!

nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z thank you and congrats on the solid memory management improvements! I haven't hit a single crash since the 0.72.0 update. app is running brilliantly for me.

great work! πŸ’ͺπŸΌπŸŽ‰

maybe she deserves it