X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="US-ASCII"
Subject: RE: Problem to open big selfextracting Zip files from bash - starting  from scratch :-)
Date: Thu, 25 Sep 2008 13:34:14 -0400
Message-ID: <31DDB7BE4BF41D4888D41709C476B6570929B49D@NIHCESMLBX5.nih.gov>
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder@niaid.nih.gov>
To: <cygwin@cygwin.com>, "Dirk Napierala" <Dirk.Napierala@oracle.com>
X-IsSubscribed: yes
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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m8PHZDxT005576

Dirk Napierala wrote on Wednesday, September 24, 2008 12:51 PM:
>
> using other methods to launch the file (like unzip or cmd /c) is not
> an option due to company internals.

Can we assume that using the cygwin program cygstart.exe* is
also ruled out?  (*or maybe run.exe)

> Following the guideline "Changing Cygwin's Maximum Memory" from 
> http://cygwin.com/cygwin-ug-net/setup-maxmem.html
> the result of maxmem is
> $ ./maxmem.exe
> 5fffe000 bytes (1536.0Mb)
> (same result on a 2GB system as well as on a 4GB system) changing
> this by regtool -i set /HKLM/Software/Cygnus\
> Solutions/Cygwin/heap_chunk_in_mb 1024 or regtool -i set
> /HKLM/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb 1536
> followed by a reboot did not solve the issue.

I don't recall that you reported the results of setting this to
a very big number as suggested by Chris Faylor.  (Please excuse
me if you did and I missed it.)  For example:

$ regtool -i set /HKLM/Software/Cygnus\
Solutions/Cygwin/heap_chunk_in_mb 2048

You might also try 3072 and 4096.  And you might want to check
that your swap file can grow big enough to handle it.
  Control Panel
    => System
    => Advanced
    => Performance [Settings]
    => Advanced
    => Performance [Change]
    => Virtual memory [Change]

Good luck!

- Barry
  - Disclaimers:
    - Statements made herein are not made on behalf of NIAID.
    - Use any suggestion* I make at your own risk.
      (* e.g., playing with the swap file)

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


