This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building Bedrockdb in cygwin


Thanks, sir.


From: cygwin-owner@cygwin.com <cygwin-owner@cygwin.com> on behalf of Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Sent: Tuesday, May 14, 2019 12:18 PM
To: cygwin@cygwin.com
Subject: Re: Building Bedrockdb in cygwin

On 2019-05-14 07:51, Jose Isaias Cabrera wrote:
>
> Brian Inglis, on Monday, May 13, 2019 11:29 PM, wrote...
>> You might want to try installing WSL then follow the Ubuntu instructions to
> I am trying to make this work from work.  And I am running Windows 7, which
> does not support WSL.
>> figure out what the build resource requirements are.
>> Then use the peflags settings in
>>        https://cygwin.com/cygwin-ug-net/setup-maxmem.html
> This is a good advice.  I tried running this command,
> $ peflags --cygwin-heap git.exe
> git.exe: skipped because nonexistent

Supply a path name:
$ peflags --cygwin-heap /bin/git
/bin/git.exe: initial Cygwin heap size: 0 (0x0) MB

$ peflags -v /bin/git
/bin/git:
coff(0x022f[+relocs_stripped,+executable_image,+line_nums_stripped,+local_syms_stripped,+bigaddr,+sepdbg])
pe(0x8000[+tsaware])

$ peflags -d -f -n -i -s -b -W -t -w -l -S -x -X -y -Y -z -v /bin/git
/bin/git: coff(0x022f[-wstrim,+bigaddr,+sepdbg])
pe(0x8000[-dynamicbase,-forceinteg,-nxcompat,-no-isolation,-no-seh,-no-bind,-wdmdriver,+tsaware])
          stack reserve size      : 2097152 (0x200000) bytes
          stack commit size       : 4096 (0x1000) bytes
          Win32 heap reserve size : 1048576 (0x100000) bytes
          Win32 heap commit size  : 4096 (0x1000) bytes
          initial Cygwin heap size: 0 (0x0) MB

> how do I add more memory to git.exe using peflags?  I read the site you
> mentioned above, and it's not very clear as to how it can be done.

$ peflags --cygwin-heap=2048 /bin/git
/bin/git: initial Cygwin heap size: 2048 (0x800) MB
$ peflags --cygwin-heap=0 /bin/git
/bin/git: initial Cygwin heap size: 0 (0x0) MB

> There is actually a mistake in the documentation: the third sentence reads,
> "In some cases, this problem can be solved by changing a field in the file
> header which is utilized by Cygwin since to keep the initial size of the
> application heap."
> I think the word "since" after Cygwin, is not needed.

Patch years ago to one doc source line removed "version 1.7.10" but left "since"
on the previous doc source line.

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]