public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Cary Lewis <cary.lewis@gmail.com>
To: Ken Brown <kbrown@cornell.edu>
Cc: km2z7kca0oge@opayq.com, cygwin@cygwin.com
Subject: Re: Cygwin PHP (all available versions) has a hard 4MB memory limit
Date: Tue, 4 Aug 2020 09:35:58 -0400	[thread overview]
Message-ID: <CAEF1h+UHng8F=1LvnVDjeaFzasVUi-osWmcW0EdRD94pisDqxA@mail.gmail.com> (raw)
In-Reply-To: <94113ba5-46a3-512e-9d27-bf50f99947ea@cornell.edu>

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 <kbrown@cornell.edu> 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
>

  reply	other threads:[~2020-08-04 13:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-17 21:39 km2z7kca0oge
2020-07-17 22:39 ` Brian Inglis
2020-07-18  7:29 ` Andrey Repin
2020-07-19  2:11 ` Ken Brown
2020-07-21 20:45   ` Ken Brown
2020-08-04  1:57     ` Cary Lewis
2020-08-04 10:45       ` Ken Brown
2020-08-04 13:35         ` Cary Lewis [this message]
2020-08-04 13:58           ` Ken Brown
2020-07-18 15:33 km2z7kca0oge
2020-07-18 17:32 ` Brian Inglis
2020-07-18 15:54 km2z7kca0oge
2020-07-21 20:58 km2z7kca0oge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEF1h+UHng8F=1LvnVDjeaFzasVUi-osWmcW0EdRD94pisDqxA@mail.gmail.com' \
    --to=cary.lewis@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=kbrown@cornell.edu \
    --cc=km2z7kca0oge@opayq.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).