| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT 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=CNKU/AEENCHtcmZ/ | |
| EK/lXi8Q3ejav7YaW27qHQoaHPrMBEpDyC1Fb3siQPa90ST+ktvm0p0ycomXAzAW | |
| B4MBnuPI8Oi/di+s31SoSUMZo/zXVhJZroxMGvMVLIu2iqF2h103+RXmHh9XMVZl | |
| 4JaIXkiZa4V+pAyqlNBE5Cl2ef8= | |
| 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=G5z/Gbtow9nUeUpb+2ObXc | |
| d/8sA=; b=tegTQqKVkwm5edGloBJeFbe8WuPK5ITOKPfr5zi2gc+xiXtbL6l1dj | |
| Qmj3Go1hM3hCv9bn4TSpT7iaObZwQr1jpWsaTzQ6BstVBESSu2w4a3prNo5Pz8Dc | |
| I/Ufx54DX7mQTkC5bkoR+JlpkH4kZpwjrWJLx2SOMPTdgTUbx8Rno= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT 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=H*M:b752 |
| X-HELO: | smtp-out-so.shaw.ca |
| Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
| Subject: | Re: Building Bedrockdb in cygwin |
| To: | cygwin AT cygwin DOT com |
| References: | <DB7PR01MB5386089B8B65F0DACA92F09FDE0F0 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangel abs.com> <2B56GKHZ DOT RA34LFTQ DOT YAKAGWCC AT ZSAAQYFV DOT QHFNCGMV DOT ICZDFG7V> <DB7PR01MB5386310985F49E6AB14B10F5DE0F0 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <054f8269-d9d8-290a-9b60-0139ce33f4a0 AT SystematicSw DOT ab DOT ca> <DB7PR01MB5386CAE6AEE09B1559E7C867DE080 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> |
| From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
| Openpgp: | preference=signencrypt |
| Message-ID: | <ef300eee-b752-7f77-92f6-12eeb3803327@SystematicSw.ab.ca> |
| Date: | Tue, 14 May 2019 10:18:12 -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: | <DB7PR01MB5386CAE6AEE09B1559E7C867DE080@DB7PR01MB5386.eurprd01.prod.exchangelabs.com> |
| X-IsSubscribed: | yes |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |