From 4fb4be7e36428058c6abaa29f359b3d70ae60f0a Mon Sep 17 00:00:00 2001 From: Alexander Ziaee Date: Tue, 8 Sep 2026 07:36:26 -0400 Subject: [PATCH] sort.1: Fix default memory buffer size PR: 261496 Fixes: 554442439dd0 ("Change the memory heuristics") MFC after: 3 days Reported by: wosch --- usr.bin/sort/sort.1.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/sort/sort.1.in b/usr.bin/sort/sort.1.in index 80cc1dcb0282..cf02974ef705 100644 --- a/usr.bin/sort/sort.1.in +++ b/usr.bin/sort/sort.1.in @@ -101,7 +101,7 @@ for the maximum size of the memory buffer. Size modifiers %,b,K,M,G,T,P,E,Z,Y can be used. If a memory limit is not explicitly specified, .Nm -takes up to about 90% of available memory. +takes up to 50% of available memory. If the file size is too big to fit into the memory buffer, the temporary disk files are used to perform the sorting. .It Fl T Ar dir , Fl Fl temporary-directory Ns = Ns Ar dir