delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/24/12:52:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48DA7010.8000003@oracle.com>
Date: Wed, 24 Sep 2008 18:51:28 +0200
From: Dirk Napierala <Dirk DOT Napierala AT oracle DOT com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Problem to open big selfextracting Zip files from bash - starting from scratch :-)
X-IsSubscribed: yes
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

Hello again,

I think it would be the best to give this topic a new start from scratch
trying to add some more input from our side.

We discovered an issue  trying to open big selfextracting zip files.
Trying to do so result in the following error:

./*selfextracting_zipfile*.exe
bash: ./*selfextracting_zipfile*.exe: Cannot allocate memory

using other methods to launch the file (like unzip or cmd /c) is not an
option due to company internals.
Also rebuilding the zip file or span it is not an option. We have to use
the zip file as it is and it have
to be started as mentiond above.
(I know this is somehow stupid, but thats the way it is and we are
unfortunately  not able to change this fact
Please don't let us take this into the discussion)

But  just to let you know, using unzip or cmd /c to start it is working
well. (Indicator for a bash issue ???)

This only happens to huge files (guess the limit is  above 1.5GB size)
The one we are currently trying is 1,75 GB (1.883.969.903 Bytes)
Smaller once are working fine.

Following the guidline "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.

It happens on the current version available for download 1.5.25-15
and also with the new 1.7.0 (base-files version 3.7-1)(thanks to Volker
Zell providing us this one for testing)

If we are using an older version instead (1.5.18 base-files version
3.6-1) this issue doesn't show up.
It seems to be hardware and memory amount independent. Tested on several
Dell desktop systems with 2GB
and finaly on my Laptop with 4GB memory.

Looking forward to a cygwin developer to troubleshoot this.
Thanks in advance for any constructive feeback.

Best Regards

Dirk Napierala



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

- Raw text -


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