FS#69754 - pacman -F takes much more memory than pkgfile
|
Details
Summary and Info:
pacman -F / -Fl takes much more memory than pkgfile when working on big repo databases (like [community] and [archlinuxcn]). On low memory machine, it may trigger OOM kill. Steps to Reproduce: $ sudo systemd-run -q --scope -p MemoryMax=256M pacman -Fl sl zsh: killed sudo systemd-run --scope -p MemoryMax=256M pacman -Fl sl $ sudo systemd-run -q --scope -p MemoryMax=2M pkgfile -l sl community/sl /usr/ ... (normal output) pacman 256M vs pkgfile 2M... Please take a look at this. |
This task depends upon
If the goal is to optimize the way pacman reads databases that is probably more relevant.