From nobody Tue Sep 08 11:42:41 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hfMWC0J9rz6rKM1 for ; Tue, 08 Sep 2026 11:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hfMWB6ZXpz447p for ; Tue, 08 Sep 2026 11:42:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788867767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5FdRW2ROlEi1gzowZZETPBL4ulR99QqnEGTJIPtBtw4=; b=m7CmBB0HTuYyVmhQScGqldUnxLUdHKsgNFhB5kBoaR2pvwprUnBwFMhOSI/gW6adKRypXW 4YVIbBniH1fM3BZBKEwTw4tbdav0ZGgzSbT9BCOsjuZOayUVTqyuI2OUaJ3jaRNR6wy3xm 3/0xDqZ/+x5nuq58la1+nLMojkhSLf70L5DvhzhPJXQqHkp0bhKzuBQ704pQHlOelQkiGY EtpJTaoypCG7dr9NNqVKRjed0Pk5EKugxilTVrcBNWoOghgXyQ86byqyTn4yiPZ27zGj6g dSur9eNbZqLVlsG8SrG5uge2+KRrJ6abaOIbAY7mE81CAO6ftDjCxzx0fGr/YQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788867766; a=rsa-sha256; cv=none; b=Sp2H0oJ3f7v1+3h/8b/L0PoPFdZkR1sKvA941nci1aoWef4+lemzxIYmw4lmFgsGoJbcSW 47xsAd8gmbFpW3FohQmRn78fhVP8pmW+Din+K/cdmGj/34mG41zi763VBTSWldNFe15Vwr R7LPGHA+BqLoWBQNM6zamoIdb4HT8L8JS8ZCAwKSLqEp9bdFihDXcNOMUJ9uQvMhokvvba YcRGPkcGRNJnIEZC3AovbFwHr29Tw7lNfBg/+465F/dv5/QrF12suNwOq+0/kYwk/9wGs2 uuvcCCBxei33kzaJsUcHFo3175piPeZnMPti0luZ0K2cdSa7uuWWayt7t2a55w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788867766; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5FdRW2ROlEi1gzowZZETPBL4ulR99QqnEGTJIPtBtw4=; b=VAmE73TkJqCv5t4+y1QT/vL/X/Y1ztIltWQplWP8RpM6RVVoMNU5RvAe2edstHNCnAdAdO sEkURwmNj/CttNJReAmR2EZtv1RmqVwclvQ4hdD0REca0BUHDCFlIMyoWSX9RcIBKSSCL9 J9ta4mCPT/P6SpAAdzo63uhrPnWEB22JtS5FWQJetb4y0K/Ob9GglBcyXQ8GoX2fh6LlMs jOcBb92+6oKmJe5sLMbnk68zUud6HWaTx8dNIbhS1iG433+I8Me4B23FR8zywyRL3wrE/+ Nt/fbbVsJz8xbi2WQHXb7tWaMP2lB94tjw9jR11HfeEJ6Qim7iV4x2DClW33dA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hfMWB5bbrz13Wy for ; Tue, 08 Sep 2026 11:42:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 36e91 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 08 Sep 2026 11:42:41 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: 4fb4be7e3642 - main - sort.1: Fix default memory buffer size List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4fb4be7e36428058c6abaa29f359b3d70ae60f0a Auto-Submitted: auto-generated Date: Tue, 08 Sep 2026 11:42:41 +0000 Message-Id: <6a9ff4b1.36e91.569ee21@gitrepo.freebsd.org> The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=4fb4be7e36428058c6abaa29f359b3d70ae60f0a commit 4fb4be7e36428058c6abaa29f359b3d70ae60f0a Author: Alexander Ziaee AuthorDate: 2026-09-08 11:36:26 +0000 Commit: Alexander Ziaee CommitDate: 2026-09-08 11:40:56 +0000 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