freebsd-dev/usr.bin/locate
Wolfram Schneider 5cf0049653 limit sort(1) memory usage to 20% of available main memory
By default BSD sort(1) uses 90% (or at least 50%?) of the available
main memory. That is good for performance for a single job, but not
for a shared OS. For a long running script the performance is less
important than the stability of the server.  Also, if a server
with 64GB RAM starts swapping, the performance goes south and
hurts other running applications.

Note: this change does not affect the weekly cron job to
rebuild the locate database. The FreeBSD locate.updatedb
use the -presort option (find -s)
2022-01-26 19:30:11 +00:00
..
bigram switch to 64 bit integers for counting bigrams 2022-01-26 16:11:51 +00:00
code locate: change from BSD-4-clause to BSD-3-clause 2022-01-25 09:20:17 +01:00
locate limit sort(1) memory usage to 20% of available main memory 2022-01-26 19:30:11 +00:00
Makefile
Makefile.inc