3 ms·
> But I still appreciate youre building a NATIVE app that's using around 85MB of working memory (according to my Activity Monotor), and not some Electron thing.
by amelius 9mo ago
> But I still appreciate youre building a NATIVE app that's using around 85MB of working memory (according to my Activity Monotor), and not some Electron thing.
Well, assuming you have a browser open anyway, you're still using more memory than if HN is running in another browser tab.
In fact, if every website that you use frequently had its own native app, that would use more memory than you're using now.
- dijit 9mo agoYou should probably check that. A fresh hackernews tab of this thread uses 150MiB (Sandboxed) in Chrome for me, and HN is a pretty lean site by all accounts.
- amelius 9mo agoIn Firefox (Linux) it says 34MB.
- dijit 9mo agoWeird, I promise I am not lying. https://sh.drk.sc/~dijit/hn_tab_mem_usage.png https://sh.drk.sc/~dijit/hn_tab_mem_usage.png
- amelius 9mo agoDo you use browser extensions? Perhaps they are adding to the memory usage (?)
- dijit 9mo agoOnly bitwarden (no ad-blockers or anything). https://sh.drk.sc/~dijit/hn_tab_extensions.png https://sh.drk.sc/~dijit/hn_tab_extensions.png EDIT: Looking into it, seems the tab memory viewer is only looking at the page and does not take extensions into account; if the extensions inject JS/Style to the page then it counts, and Bitwarden seems to only add a small amount of JS to find password dialogues. It uses memory, but outside of the tab viewer.