<ericonr>
htop reports > 65.1G 1073M 1063M S 0.7 6.8 4:01.75 foot --server < for me, where columns are "VIRT RES SHR S CPU% MEM% TIME+ Command"
<ericonr>
this feels a bit exaggerated
arolle has quit [*.net *.split]
yyp has quit [*.net *.split]
Arnavion has quit [*.net *.split]
birger has quit [*.net *.split]
ifreund has quit [*.net *.split]
avane has quit [*.net *.split]
hspak has quit [*.net *.split]
Lord has quit [*.net *.split]
dnkl has quit [*.net *.split]
birger has joined #foot
yyp has joined #foot
arolle has joined #foot
Arnavion has joined #foot
dnkl has joined #foot
Lord has joined #foot
ifreund has joined #foot
hspak has joined #foot
avane has joined #foot
<dnkl>
ericonr: with that much shared memory, it's likely fonts, it something similar. What's the output of "cat /proc/<foot pid>/maps"? How many terminal windows do you have opened? At what sizes (i.e width x height, in pixels), roughly?
novakane has joined #foot
brain_ has joined #foot
brain_ has quit [Quit: brain_]
brain_ has joined #foot
brain_ has quit [Quit: brain_]
Hrmmm has joined #foot
Hrmmm has quit [Quit: Hrmmm]
<ericonr>
dnkl: forgot to capture maps; two windows, one 2560x1080, the other 1280x1080
<dnkl>
ericonr: ok, pretty big. You'll have *at least* 20MB pixmap memory. But that's of course nowhere near the amount you saw being used...
<dnkl>
going to need that maps output...
<dnkl>
ericonr: how many windows have you had up, at the same time, with that server process?
<ericonr>
dnkl: probably around 4?
<ericonr>
but epehemeral windows are common too
<ericonr>
so maybe that matters?
<dnkl>
ericonr: nah, don't think so. On musl builds, foot's memory usage will always be stuck at whatever it has used at most.
<dnkl>
just how Linux works. Memory free:d by the application is only returned to the process heap, not to the OS
<dnkl>
ericonr: but don't think that's it in this case
<ericonr>
huh, in my experience musl is much more eager to munmap no longer used memory than glibc
<dnkl>
ericonr: may be. afaik, glibc doesn't do it automatically at all, but has a custom API one can use (which foot does). If musl does it in its own it's all the better
<ericonr>
yes, musl does on its own :)
* ericonr
hates the glibc API
<ericonr>
I will be out today, when I get back I will pastebin maps