5 ms·
Approximately how much memory would XMonad use for you?
by mbrock 10y ago
Approximately how much memory would XMonad use for you?
- cormacrelf 10y agoYeah, that comment doesn't make much sense as it stands. GHC is a compiler not a runtime. Functional languages like GHC-compiled Haskell are not known for extreme memory efficiency in all cases, but it depends entirely on the program. Unless I'm not aware of how XMonad actually runs.
- mbrock 10y agoWell, GHC does have a runtime, and in some way XMonad also uses the compiler at runtime because configurations are written in Haskell...
- wander_homer 10y agoAnd you have to recompile it if you change your xmonad.hs config file. There's no interpretation going on at runtime - well except when you actually run xmonad with an interpreter like ghci.
- mmarx 10y agoRecompilation[0] simply calls the compiler binary, though. [0] https://github.com/xmonad/xmonad/blob/master/src/XMonad/Core.hs#L622 https://github.com/xmonad/xmonad/blob/master/src/XMonad/Core...
- diminish 10y agoI m on an old laptop with 2G of rams. it was 3 years ago with xmonad so I don't remember well but i3 left more free ram.
- Symmetry 10y agoIt's using 1.6 MB for me at the moment.
- jerf 10y agoI'm currently showing ~8.5M resident and ~4.6M shared. You can certainly do "better" than that with a different tiling window manager, but before going nuts trying to improve that or condemn XMonad/GHC, I'd definitely suggest running "top" and pushing "M" (capital matters) and seeing where it shows up in your listing. snapd and NetworkManager is taking more RAM for me right now than XMonad by a bit, and emacs, konsole, pidgin, thunderbird, clementine, and firefox all grossly outweigh it. Optimizing your window manager to take 1MB instead of 4MB of RAM is a complete and utter waste of time if you're running any web browser at all, that's less than a single big image's worth of RAM.