git: 7e81330dc4e5 - stable/15 - sort.1: Fix default memory buffer size

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Wed, 16 Sep 2026 12:05:09 UTC
The branch stable/15 has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=7e81330dc4e562520988f031594846399da5f786

commit 7e81330dc4e562520988f031594846399da5f786
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:03:45 +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