|
|
|
|
|
by yjftsjthsd-h
742 days ago
|
|
> Right of the bat, it is rather evident that this configuration will spawn two instances of foot, one for each scratchpad. > Figure 1: Snapshot of memory consumption (from btop), clients take around 10x less memory By all means use a server/clients approach if it reduces per-process memory, but it's probably not as bad as it looks, because AFAIK the actual executable only gets loaded once and then reused. So each process has its own data in RAM, but the executable/binary only gets loaded the once. Also, if this is a problem maybe revisit your choice of terminal? It's annoyingly hard to get a total (or more likely I just don't know how to get it), but every number I can seem to find says alacritty is only using <2MB total on my box, so your 27M max on foot looks... weird. Like, I can run a full standalone terminal in the size of your client; I appreciate that it might have features that make it worthwhile, but consider the tradeoffs? |
|
Though of course, the memory usage on modern machines is really not a major issue, but the configuration update, along with the tmux session death was annoying..
EDIT: Some timing metrics..