delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/05/14/12:27:50

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:from:to:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=H5zDMx5fp6TZh1v+
qFAriSFIZSqRYs4KzjgSgpchttVVDa3ViAIwJa/VN/OWSKjsXkCl3ntz4JCVK4kv
zCG3c+AK6GunuHIoo8ZUzzz9SFwn2J/Isb5Qa7LgZtTqIgsQngOfgfMUEvnzKXaV
OA9cG7WaFaMaFQfZw0EYuRnDr/I=
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:from:to:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=4J7EsulvU630Cyw1LUEKNb
vsk5I=; b=eXp6sO99bq60ueYpHm5X2ftq4MRjxs0tD+gBKv7ScZKP4tmZGRyNOI
9m5oIuHNABx16vR4KhBX003YY+E/YJpDMi8QYYuHDTIzO5BsjjLTjrbhMFBM4QRr
9B/P/AKwK1hkQtiDVIIFFA+nKly+p8ZEzwINEkiGY0e6hMJJIYtps=
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=0.1 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=sir, H*c:alternative, H*c:HHH
X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JBUQQw72CyxbdwwWwhuZ6lel00CtDOCf/httHYZwxP0=; b=qheMFrDaSbJL7yANZ1dU0PDBQxeBTB/Ftjt6wwG+69hA9Xp33Zrbt9vJYQ9uVAji0JacLRP+AmfZflVQfYVfXUtA0W7jrksucm9tIdwJOERtxGTeH+Rsr7okLO3BYNgE+6VTSiDfWCewqRz9R1sM+4+vl9y93lns1KYj7vB9yc5OSZpBJIuNRXO9+2y6+gyAqqhwfBQ2qo0sbDdw8t2evlHMSXEaPwRvmrnpoTrlJ1p6HEGgK6omSkRLMkHdBc8ey1JNsLsRyCCAaYEoZggHl0ceIwyA09JiWgWYSxRR/cqlJeXB2yFeQeDUtnzYGPblr7zph0B7HRaP6T1ETaw6yA==
From: Jose Isaias Cabrera <jicman AT outlook DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>,
"Brian DOT Inglis AT SystematicSw DOT ab DOT ca" <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: Building Bedrockdb in cygwin
Date: Tue, 14 May 2019 16:27:34 +0000
Message-ID: <DB7PR01MB53868CD0F44A4C1631625DE8DE080@DB7PR01MB5386.eurprd01.prod.exchangelabs.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>,<ef300eee-b752-7f77-92f6-12eeb3803327 AT SystematicSw DOT ab DOT ca>
In-Reply-To: <ef300eee-b752-7f77-92f6-12eeb3803327@SystematicSw.ab.ca>
x-ms-exchange-purlcount: 5
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x4EGRnDn019881

Thanks, sir.


From: cygwin-owner AT cygwin DOT com <cygwin-owner AT cygwin DOT com> on behalf of Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Sent: Tuesday, May 14, 2019 12:18 PM
To: cygwin AT cygwin DOT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019