you can fast-scroll through millions of notes in notedeck and watch the memory usage go into multiple gigabytes.

the cool thing is that the type of memory notedeck allocates is "virtual", which means if there is memory pressure on your system, the OS can freely discard 95%+ of notedecks memory usage without paging it to disk and without any impact on performance. don't be discouraged if you see high memory usage, it won't have any impact on your system.

it seems activity monitor doesn't show this virtual memory usage unless you're looking at the "real memory" column on macos, so you may not even notice it. memory can be confusing sometimes...

at most notedeck should only use 100-200mb of fixed ram, but this isn't optimized at all and we can get it down further. bloated software is everywhere and is getting worse, notedeck won't contribute to that!

thanks for coming to my ted talk.

Reply to this note

Please Login to reply.

Discussion

This memory usage element is still a challenge on mobile though. If roaming, it’s insane but nature of the beast. Think there will ever be a way of abridging in some way to reduce that memory and download requirement?

This is different then memory usage but yes eventually damus will use the lowest possible bandwidth over every connection thanks to new set reconciliation techniques.

Am not techie but understand it’s a challenge. If you want a laugh though, forgot about it when I went to uk and got 700 buck roaming bill! Lesson learned to Pay attention!

that's a beautiful touch, looking forward to using this

what is notedeck and how do i buy?

https://damus.io/notedeck alpha coming out at the end of month for damus purple subscribers, and everyone else a couple weeks after

Nice!