delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/10/11:03:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4BE824B2.6000806@gmail.com>
Date: Mon, 10 May 2010 16:22:26 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: changing the VM size in cygwin.
References: <28511180 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <28511180.post@talk.nabble.com>
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

On 10/05/2010 13:54, kulalking wrote:

> We are running a server on cygwin (on windows 7 , 64 bit , 6 GB RAM )

> After that we tried to get the memory allocation limit, code is given in the
> same link.
> We are getting only 1596 MB.

  Unfortunately, Cygwin is only a 32-bit application, so even when running on
a 64-bit machine it is limited by the 4GB address space of a 32-bit process,
the upper 2GB of which are reserved for the OS kernel, and of the lower 2GB,
the various Windows and Cygwin DLLs use a lot of the upper 1/2GB of that.

> We also tried with ulimit –v  option , and we are not able to change the vm
> size , it says 2 GB is the MAX!

  You could try setting the VM's boot configuration to include the /3GB and
/PAE switches, but that only might help gain a bit more headroom; the
fundamental 32-bit-ness of Cygwin (and hence all Cygwin applications) would
take probably something up to a few person-years of work to change.

    cheers,
      DaveK

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