Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127127 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 1222F1A00BC for ; Thu, 17 Apr 2025 07:36:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1744875252; bh=7LoORYETcvmjq1+HeAPrHS2cv2KIGbVgLnpTBkkCguk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GSr9HbaSN1uIXgSFMPBC8BU2H7IGMnJ6dMsimvM7q6KLhyoURtu7yXSrMnvD/Qsch 8EfPfafmUdTUOCR7rp6AdGkG2TOKmc5OX5tyET3u8iDlCeE8lo+O5Ps1MJK9aqFIwa WDNlc/OFyKTYzVCTlFq3PDoI1+k1tdo2ZuDhSISdNdSrekrJGF9Wur7Up0zIIfk5ZN KkNSeaupozBSYr0dbgoETERCmexhy5J5X3hD7ZvJMBlMHaA91ppjaq4G+ywGmUNi+C QJeF5HVFXmnvMnB7tXCe1N/pzc+Pr0CEznDeNRIEUCTgl0srd1d3QXZx06FRujac3c zAemZT3iEGjuQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B320D18005B for ; Thu, 17 Apr 2025 07:34:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 17 Apr 2025 07:34:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1744875391; bh=ws1+8AHZUkubdrbomCXpO8v94am4fN+9yZFrehaMQ5A=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=eFZ+414UyPjY1IFouJRIQ1UwNsIw5l4KlVOIA5imVt0zFfwZU/KRzWs71jl1cxmPz 4xn3l3ciSOEPNmmt8Gz26EHlBXUvP9UF+r1mgvR6a9QcaWzGqluDSY/8nBxBVVEl42 OubzEhkWgVyK6mnaH1/OyYFk5ubcJc2x+aoeCreegrONUGPLVp3Veuxw9FbVW/L32k tvoHP/Au7EgcCI2WoHYHHIIprIIF9/yYDm5vr7iW1xbz/fOwQuNyx+BLzmNTVUW1vS 978rD9ivRI31KO8eqPmx6kJpFJvs6fxItCIPWQ+HKueaMaQ2SclGylUOqsGaGN9RsW Fai1G/ZLRVdqw== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Thu, 17 Apr 2025 09:36:30 +0200 To: Jordi Boggiano Cc: Ilija Tovilo , PHP internals Subject: Re: [PHP-DEV] New max_memory_limit INI setting In-Reply-To: <2c9fc329-8b90-46e8-90ff-f4c4715ee063@seld.be> References: <2c9fc329-8b90-46e8-90ff-f4c4715ee063@seld.be> Message-ID: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2025-04-15 10:13, schrieb Jordi Boggiano: > I'd say absolutely yes it should respect the requested memory limit as > much as possible. > > Especially when setting memory_limit to -1 you'd definitely want this > to mean "use the max allowed memory limit" and perhaps even skip the > warning in that case as it's not a very specific request for a memory > amount. I agree with Jordi's entire email. Best regards Tim Düsterhus