From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by sourceware.org (Postfix) with ESMTPS id 9974A3857C53 for ; Tue, 4 Aug 2020 13:39:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9974A3857C53 Received: by mail-lj1-x22d.google.com with SMTP id w25so8170113ljo.12 for ; Tue, 04 Aug 2020 06:39:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AXmxqnNjbAY2GRM+u9bQCcCZ++i+gufswupsScAEz2c=; b=iF/i7PikyGuXpWZZnloycG+vNyQNnDe9XGzpFNxnvI5w4y2NRGYjW91CJotkDbjw12 lnxVHmY+c/szKBUPbryG5TLOl22SaVWQLvJfgoCP9nmLOnAgV4zsh6IiJ8SMmHXgGFSo XkvaDlFsco7vV1u83HEdBdXn7iUJfhRKvVoplru1qlLH/XPzbgXTrRRN8gG4K5aMHrAW 5GDPP2RKY/AD8lS2lW1yyjPTqYNl1T7NtWeZh6MO1iY+mAx0XJU11l4MRd3jYBzS7uvn yro/M9epx9MtpGTl7OGEEBcnR6u2BthT0sXt3da1Fwds1BLx6yt+jRKCSC6c7QcF/JQv LcsQ== X-Gm-Message-State: AOAM530iggVIEhKxfehSRPVWF0D+q5vH8PsX6Z3JKa5NuGKl79uBVIDE Zp8RRx99a6FtanqMv05r2qAElqp0L8sS08DOA1OEX38= X-Google-Smtp-Source: ABdhPJyhTrFNfROL/FVj7T2WpA4jUWeT2SBb4d5KDSMWUwCgJb/LzlSaxdexCaDb9rO/4cAn+luuGISJXWCSJR+Mi1Y= X-Received: by 2002:a2e:85a:: with SMTP id g26mr10574782ljd.319.1596548376189; Tue, 04 Aug 2020 06:39:36 -0700 (PDT) MIME-Version: 1.0 References: <1869633229.76476.1595021996652@smtp4.opayq.com> <0077be8f-2c24-68c3-c6ea-f6ece6b7b0cf@cornell.edu> <94113ba5-46a3-512e-9d27-bf50f99947ea@cornell.edu> In-Reply-To: <94113ba5-46a3-512e-9d27-bf50f99947ea@cornell.edu> From: Cary Lewis Date: Tue, 4 Aug 2020 09:35:58 -0400 Message-ID: Subject: Re: Cygwin PHP (all available versions) has a hard 4MB memory limit To: Ken Brown Cc: km2z7kca0oge@opayq.com, cygwin@cygwin.com X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2020 13:39:39 -0000 Thank you Ken, I followed your instructions and I am now able to use https and composer with your versions of php. Did you have to apply any of the cygport patches? I hope that the offical cygwin repos and mirros get updated. Thanks again. On Tue, Aug 4, 2020 at 6:45 AM Ken Brown wrote: > [Please don't top-post on this list.] > > On 8/3/2020 9:57 PM, Cary Lewis wrote: > > I am running php on two different Windows 10 computers, and on one > machine I can > > run composer with no issues, but on other I get our of memory issues. > > > > Both report: > > > > php -v > > PHP 7.3.7 (cli) (built: Jul 21 2019 18:10:35) ( NTS ) > > Copyright (c) 1997-2018 The PHP Group > > Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies > > > > but trying to execute: > > > > composer require twilio/sdk > > > > on one of the machines results in this: > > > > PHP Fatal error: Out of memory (allocated 38273024) (tried to allocate > 2098524 > > bytes) in > phar:///usr/bin/composer/src/Composer/Util/RemoteFilesystem.php on > > line 459 > > > > Fatal error: Out of memory (allocated 38273024) (tried to allocate > 2098524 > > bytes) in > phar:///usr/bin/composer/src/Composer/Util/RemoteFilesystem.php on > > line 459 > > I sent my proposed fix for the originally reported problem to the > cygwin-apps list: > > https://cygwin.com/pipermail/cygwin-apps/2020-July/040350.html > > But no one has stepped forward to take over maintainership. If you want > to try > my build to see if it fixes your problem too, you can install it from my > personal Cygwin repo by using setup-x86_64.exe. Follow the instructions > here: > > http://sanibeltranquility.com/cygwin/ > > If this works for you, I'll try again to get the fix into the Cygwin > distro. > > Ken >