git: 84141e3e88c0 - stable/14 - sort.1: Fix default memory buffer size
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Sep 2026 12:10:41 UTC
The branch stable/14 has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=84141e3e88c0bb52be5cff4c0647519f9a370d98
commit 84141e3e88c0bb52be5cff4c0647519f9a370d98
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-09-08 11:36:26 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-09-16 12:10:26 +0000
sort.1: Fix default memory buffer size
PR: 261496
Fixes: 554442439dd0 ("Change the memory heuristics")
MFC after: 3 days
Reported by: wosch
(cherry picked from commit 4fb4be7e36428058c6abaa29f359b3d70ae60f0a)
---
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