494 B
494 B
ripgrep-container
need to limit memory consumption somehow…
so backstory time:
grep manages to use 60GiB of memory for 2 min and 42 seconds, but finishes rg manages to get SSH and Cockpit to be killed by OOM-killer (I can't even get the time used, because it crashes)
my problem is that my filter contains 300M lines and is rougly 4GiB and no matter what I do Memory usage and the time consumption is to high.
tl;dr I am torturing grep and rg, and need to limit the resources to rg