Hacker News new | ask | show | jobs
by _Soulou 405 days ago
Something I have been wondering with Flatpak is about Ram usage. As sharing dynamic libraries allow loading it into RAM only once, while if I use Signal, Chromium and different others Flatpaks, all libs will be loaded multiple times (often with their own version). So maybe disk is cheap but RAM may be more limited, which looks kind of a limit in the generalization of this method of distribution. (You could tell me it's the same with containers)

Am I right to think that? Has someone measured that difference on their workstation?

2 comments

Web browser (Signal and Chromium) wastes so much memory that shared libraries size is not important. Also, shared libraries can always be dropped from memory.
The same libraries are shared between flatpak apps, and everything deduplicated, so I don't thinknso, but someone would have to test