delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/10/08:54:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <28511180.post@talk.nabble.com>
Date: Mon, 10 May 2010 05:54:04 -0700 (PDT)
From: kulalking <sathish DOT kulal AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: changing the VM size in cygwin.
MIME-Version: 1.0
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

Hi All,=20

We are running a server on cygwin (on windows 7 , 64 bit , 6 GB RAM ), it
used to run fine with Linux environment.=20

It is crashing on cygwin when client access the huge memory. We found on
debugging that huge memory allocation causing the crash: _buf =3D new
char[array_wid]  where  array_wid is 1GB. So it is finding difficult to get
huge continues memory in cygwin.

We tried changing the heap memory using regtool command,
regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 4096
regtool -i set /HKCU/Software/Cygwin/heap_chunk_in_mb 4096

we got above information from :=20
http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html
http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html=20
After that we tried to get the memory allocation limit, code is given in the
same link.=20
We are getting only 1596 MB.

Windows machine having more VM size, around 6GB we can see that in process
explorer, but cygwin is not transferring that to environment.=20

looking for the help for increase the VM, or any solution/suggestion ?

And also we also tried Rebuilding the our application with high stack size,
-Wl,--stack,8388608 , didn=E2=80=99t give any hope :(

We also tried with ulimit =E2=80=93v  option , and we are not able to chang=
e the vm
size , it says 2 GB is the MAX!


--=20
View this message in context: http://old.nabble.com/changing-the-VM-size-in=
-cygwin.-tp28511180p28511180.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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