From nobody Tue Sep 08 11:42:41 2026 X-Original-To: dev-commits-src-main@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 4hfMW56rxNz6rKP2 for ; Tue, 08 Sep 2026 11:42:41 +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 4hfMW56HsXz44B1 for ; Tue, 08 Sep 2026 11:42:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788867761; 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=oRU9RS8ju4uSDsY4RxJj6IxjG2U+rfZot+ZugrSY8WULskdAijnafb3N1kiJTWjAjXkWvM rWDV6kfiB3DieHU34zgfmhrJp7H/YG53GTh3Lb4DioeeAzl7E5m2VoqVbpEcWmcWlFuoH+ ML/aynOePBgtaHx552u0LPdjlsS5LoSXUeltoYIerDh6OlyOPMqrAaCBfKyt0n7+spLX3m foX72o10vWBY6ZQJVcJ5DETqiGsKytDTHy9b2m/aHz9Mf8pOTEYdHndllzqcyZ12Liy5Ux XpYiniiCSc6ak0hQdDbHIGjROCkNov9sgnDPrcwA0q/eyzqLiDLLPDgPWA96Mg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788867761; a=rsa-sha256; cv=none; b=CxrjJr3Ct+/pQWIKf0lq9L4fGWBnoUW6nxoBlYK7L+IHHxWLGL7ipU4srxXfhxVLvWQzX9 xNyw5E7xCV2Of3BoKCuuYfXnwbAMiKCpZ4PxUMZPXrnj/P+M2fqd/lZJg+WAcESxhj6L0N s8Uwsdhxln7rfdYq36vrGs5haEme+A2+zVY26tC+FtHoBmbrjG5S+/OBbOGHkHURwq5DyT EI/S7uTzYP0A/AODo3aiNyCeEhL2xyd8n40talZxjCwORGXMCUoLZIvVb6emcY+FbNktsr hXkiM0so9SbBTKlWjiSosojI5pNxPXfnISafqU5E3X95nSe46R8XSY1HkYZn/Q== 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=1788867761; 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=cWBHkcXn9RDOCyxxcGBFaJprNS/Ku4QjC4iQcF4EGthcy5Cg0M1UrYhWB0O2KzQpjZR4r8 d7rQGAaNuRYvrIWrwpsfKhkQO2+f8yyIkXpZP0WlXQ0kplG89pqs84aBZTDmEH2u1k+MGi VOadYRWBD71lG9OSe5MKKG+11TyivukJhFDPmyxxW5kB9gJD61V5tzvT5r3oq4d72fbwqj oYcBYWnyqDIdIBQqiRHmnWanAfGlpwqUGa8SF2tPswj8zXG5UZNx6buCblCVH2bjzPMIp+ 8pNQw146ABsSEQDPYv/KR42AcFlcqIqF8uF6frVQ1X0lZgPOBPjXEDSycWmtuA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hfMW552qMz13Ww for ; Tue, 08 Sep 2026 11:42:41 +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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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