This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: changing the VM size in cygwin.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]