public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jared Ingersoll <jared@cswv.com>
To: "'dan_nazario@americancentury.com'"
	<dan_nazario@americancentury.com>,
	 cygwin@cygwin.com
Subject: RE: Does Cygwin have a 2GB Memory/RAM limit ?
Date: Thu, 30 Oct 2003 15:28:00 -0000	[thread overview]
Message-ID: <4FF77D01E13B214590F4FA3E2C3021D0873AFB@pecos.csw.alewife.net> (raw)

I think Java has some internal defaults, try setting the max heap size on
the command line that calls the app (in MB's).

jared

-----Original Message-----
From: Dan_Nazario/ACIM/americancentury@americancentury.com
[mailto:Dan_Nazario/ACIM/americancentury@americancentury.com]
Sent: Wednesday, October 29, 2003 10:39 PM
To: cygwin@cygwin.com
Subject: Re: Does Cygwin have a 2GB Memory/RAM limit ?






I am running a Java application (Java version 1.4.x).

I try to allocate a JVM with anything much larger than 1.6GB and it fails.
So I started to look at memory (1.6GB is no problem for Java to allocate
providing everything else is working OK).

Two of the places I looked (see below) are the top command and vmstat.
Both of which reported 2GB of RAM available despite my having set max
memory size to 4GB.

Based on that observation, I assumed that cygwin has a built in memory
limit of 2GB.
I'm wondering if anyone has seen this before, or has an environment (RAM >
2GB) where they could do a quick test to see if setting the max memory to >
2GB(see html link below)  reports only 2GB available.

I've checked the FAQ, searched the news groups, googled 'till I can't
google no more ;-).  Can't find any reference to this.

Thanks for any help.

Dan Nazario





 

 

                        "Timothy C

                        Prince"                To:
dan_nazario@americancentury.com                                          
                        <tprince@myreal        cc:       cygwin@cygwin.com

                        box.com>               Subject:  Re: Does Cygwin
have a 2GB Memory/RAM limit ?                            
 

                        Sent by:

                        cygwin-owner@cy

                        gwin.com

 

 

                        10/29/2003

                        06:29 PM

 

 

 

 

 





I don't think you've defined your problem well enough to answer.  Are you
running a single thread gcc program which mallocs memory until it fails?
If you have multiple CPUs and run multiple threads or multiple instances of
your program, you might be able to use more of the memory.

-----Original Message-----
From: Dan_Nazario/ACIM/americancentury@americancentury.com
To: cygwin@cygwin.com
Date: Wed, 29 Oct 2003 17:40:02 -0600
Subject: Does Cygwin have a 2GB Memory/RAM limit ?

I am trying to run cygwin on a Windows 2003 server with 8GB of ram.

I have set the registry key to inform cygwin the max memory should be 4096
(4GB).  Checking the registry - I see the value is set to 4096.
(see: http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html)
In spite of this, all indications are that it does not see more than 2GB
(2097151K) of RAM.  (top and vmstat output)

Can anyone else confirm this - that memory above 2GB is not visible to
cygwin.  Any known work-arounds?

Thanks in advance.

Dan Nazario

P.S.   Cygwin uname info is: CYGWIN_NT-5.2 **server name **
1.5.3(0.90/3/2) 2003-09-01 13:15 i686 unknown unknown Cygwin

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



Tim Prince

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





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

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

             reply	other threads:[~2003-10-30 14:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-30 15:28 Jared Ingersoll [this message]
2003-10-30 16:44 ` Does cygwin " Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2003-10-30 17:54 Dan_Nazario/ACIM/americancentury
2003-10-30 18:07 ` Brian Dessent
2003-10-30 16:52 Does Cygwin " Dan_Nazario/ACIM/americancentury
2003-10-30 14:26 Vince Hoffman
2003-10-30 14:03 Dan_Nazario/ACIM/americancentury
2003-10-30 14:09 ` Gerrit P. Haase
2003-10-30 13:47 Dan_Nazario/ACIM/americancentury
2003-10-30 14:48 ` Tim Prince
2003-10-30  6:18 Dan_Nazario/ACIM/americancentury
2003-10-30  6:51 ` Tim Prince
2003-10-30  2:54 Timothy C Prince
2003-10-30  1:41 Dan_Nazario/ACIM/americancentury
2003-10-30 13:39 ` Gerrit P. Haase

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FF77D01E13B214590F4FA3E2C3021D0873AFB@pecos.csw.alewife.net \
    --to=jared@cswv.com \
    --cc=cygwin@cygwin.com \
    --cc=dan_nazario@americancentury.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).