build: link jemalloc by default to reduce heap fragmentation
The QML engine and the quickshell reloader both cause large amounts of heap fragmentation that stacks up over time, leading to a perceived memory leak. Jemalloc is able to handle the fragmentation much better, leading to lower user facing memory usage.
This commit is contained in:
parent
d56c07ceb3
commit
a8506edbb9
3 changed files with 24 additions and 7 deletions
|
@ -63,10 +63,13 @@ To build quickshell at all, you will need the following packages (names may vary
|
|||
- just
|
||||
- cmake
|
||||
- ninja
|
||||
- pkg-config
|
||||
- Qt6 [ QtBase, QtDeclarative ]
|
||||
|
||||
Jemalloc is recommended, in which case you will need:
|
||||
- jemalloc
|
||||
|
||||
To build with wayland support you will additionally need:
|
||||
- pkg-config
|
||||
- wayland
|
||||
- wayland-scanner (may be part of wayland on some distros)
|
||||
- wayland-protocols
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue