X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=mUB/uWAbs4dtQ94H
	1gldNoDMpzEu9N4pboPLzV6ctzgMa99ELAL58UXlybPvc+V9bvkd3a1UxWhQdJ8u
	Wce7CZIeSSB9pcaahM3kxQUG2ScR9RIGfHOpwVyOBD6iWJjUL7eUhjjVT9ZYrN57
	MJESXcQTXgELKgbe66egR55hrMU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=pZlNlBd3RVl/PGwV/aKzZD
	K1Xuw=; b=P+JPywcYF5pp1JwpD7TGAOladJ1/UzNqCkXrqHnHdzKSb6v0FRnAtX
	gEFJYNUWwwMLRWP4I0DoazN0D69CpbP2R9iyNmb9O3yK8NeqSr1V6EP8313RtvJM
	PsPMho1+U/HnsSaJFpluw8WUJOqahNbnWStGzOkhhuJeGqs2n0/uQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=exes
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: Building Bedrockdb in cygwin
To: cygwin@cygwin.com
References: <DB7PR01MB5386089B8B65F0DACA92F09FDE0F0@DB7PR01MB5386.eurprd01.prod.exchangel abs.com> <2B56GKHZ.RA34LFTQ.YAKAGWCC@ZSAAQYFV.QHFNCGMV.ICZDFG7V> <DB7PR01MB5386310985F49E6AB14B10F5DE0F0@DB7PR01MB5386.eurprd01.prod.exchangelabs.com>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Openpgp: preference=signencrypt
Message-ID: <054f8269-d9d8-290a-9b60-0139ce33f4a0@SystematicSw.ab.ca>
Date: Mon, 13 May 2019 21:29:43 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <DB7PR01MB5386310985F49E6AB14B10F5DE0F0@DB7PR01MB5386.eurprd01.prod.exchangelabs.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 2019-05-13 15:58, Jose Isaias Cabrera wrote:
> 
> Jack, on Monday, May 13, 2019 05:26 PM, wrote...​
>> On 2019.05.13 16:37, Jose Isaias Cabrera wrote:​
>>> Jack, on Monday, May 13, 2019 04:22 PM, wrote...​
>>>> On 2019.05.13 16:15, Jose Isaias Cabrera wrote:​
>>>> [snip.....]​
>>>>> $ git clone https://github.com/Expensify/Bedrock.git​
>>>>> Cloning into 'Bedrock'...​
>>>>> fatal: unable to access  ​
>>> 'https://github.com/Expensify/Bedrock.git/':​
>>>>> Out of memory​
>>>> I think that means you.  Do you have enough disk space?​
>>> $ df -a​
>>> Filesystem      Size  Used Avail Use% Mounted on​
>>> C:/cygwin/bin      -     -     -    - /usr/bin​
>>> C:/cygwin/lib      -     -     -    - /usr/lib​
>>> C:/cygwin       280G   67G  213G  24% /​
>>> B:              4.0G   91M  3.9G   3% /cygdrive/b​
>>> C:                 -     -     -    - /cygdrive/c​
>>> D:              183G   18G  165G  10% /cygdrive/d​
>> Which drive are you trying to build on?  B: 3.9G might well not be  ​
>> enough room.  C: and D: seem to have enough space.​
> ​
> I am trying to install it on c: so it has enough information.  I did see this reference [1] on stackoverflow, which is points to a memory problem. I am running a 32 bit instance of cygwin, so, it may not have enough memory for the whole clone process.  I will try tomorrow to reboot and try it without any applications.  This may provide the "memory" needed.  Is there any way to assign more memory to the cygwin terminal through windows?  Thanks for all your help.  I really appreciate it.​
> [1] https://stackoverflow.com/questions/7607970/git-clone-fails-with-out-of-memory-error-fatal-out-of-memory-malloc-failed​

You might want to try installing WSL then follow the Ubuntu instructions to
figure out what the build resource requirements are.
Then use the peflags settings in
	https://cygwin.com/cygwin-ug-net/setup-maxmem.html
after applying the linked MS settings if you are running 32 bit Windows.
If you are running 64 bit Windows, you should run 64 bit Cygwin if you need more
than 4GB memory total for maximum heap after rebasing for all exes and dlls.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

