Web lists-archives.com

Re: Building Bedrockdb in cygwin

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
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