For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.
Moderators: Krom , Grendel
Iceman
DBB Habitual Type Killer
Posts: 4929 Joined: Thu Apr 20, 2000 2:01 am
Location: Huntsville, AL. USA
Contact:
Post
by Iceman » Thu Aug 26, 2004 1:02 pm
We have a PC at here work that was recently upgraded to 4Gb RAM. Windows XP sees the RAM but we cannot allocate space larger than 2Gb from our C++ programs. Has anyone seen this before? Could this be a Windows limitation? Could this be a RAM problem? I am perplexed ...
Iceman
DBB Habitual Type Killer
Posts: 4929 Joined: Thu Apr 20, 2000 2:01 am
Location: Huntsville, AL. USA
Contact:
Post
by Iceman » Thu Aug 26, 2004 1:08 pm
Iceman
DBB Habitual Type Killer
Posts: 4929 Joined: Thu Apr 20, 2000 2:01 am
Location: Huntsville, AL. USA
Contact:
Post
by Iceman » Thu Aug 26, 2004 1:09 pm
dbl post++
Krom
DBB Database Master
Posts: 16138 Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:
Post
by Krom » Thu Aug 26, 2004 7:43 pm
You can delete your posts if you accidentally double post on this BB. At least the "delete this post" checkbox in the edit post says so. I have not actually tested it.
SSX-Thunderbird
DBB Admiral
Posts: 1275 Joined: Sun Jun 03, 2001 2:01 am
Location: Washington (the state, not the city)
Post
by SSX-Thunderbird » Thu Aug 26, 2004 8:30 pm
But your postcount goes down by one if you do that
.
All systems in the NT core have this 2GB limit. Of the 4GB, the system allocates 2GB for itself (maximum) and 2GB for programs. At least that's what I remember reading.
Iceman
DBB Habitual Type Killer
Posts: 4929 Joined: Thu Apr 20, 2000 2:01 am
Location: Huntsville, AL. USA
Contact:
Post
by Iceman » Thu Aug 26, 2004 8:39 pm
SSC-Thunderbird wrote: But your postcount goes down by one if you do that
.
yup++
DCrazy
DBB Alumni
Posts: 8826 Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle
Post
by DCrazy » Thu Aug 26, 2004 8:42 pm
I just wish that we could break the 4GB barrier... but reading up on my protected mode documentation means that's not the case.
SSX-Thunderbird
DBB Admiral
Posts: 1275 Joined: Sun Jun 03, 2001 2:01 am
Location: Washington (the state, not the city)
Post
by SSX-Thunderbird » Thu Aug 26, 2004 8:45 pm
From what I've read, a 32-bit system cannot address more than that at once.
DCrazy
DBB Alumni
Posts: 8826 Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle
Post
by DCrazy » Thu Aug 26, 2004 9:13 pm
Yeah, except for a 32/64 hybrid.
fliptw
DBB DemiGod
Posts: 6459 Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada
Post
by fliptw » Thu Aug 26, 2004 9:45 pm
or, you do it like the Xeons do it.
36-bit addressing.
there are versions of windows that allow a greater than 2GB heap.
The more expensive ones, IIRC.