Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".
* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
FS#69754 - pacman -F takes much more memory than pkgfile
|
DetailsSummary 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.