If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#166
|
|||
|
|||
No memory although more than 1GB free
In microsoft.public.vc.stl Reginald Blue wrote:
André Pönitz wrote: It might be a bit off-topic by now, but what is the largest chunk of 'flat memory' I can expect to get on a 32bit Intel system stuffed with e.g. 3GB of RAM and running not much else than XP? The theoretical best is 2GB. In practice, it's less than that, because the code takes up space, as does the stack, and the data segment. Ok, that should not be too much as long none of these segments is placed deliberately in the middle of the big chunk.. But it's fairly close to 2 GB. It's possible to increase that by a tweak to the OS which takes it up closer to 3GB, and there are OS calls to get non-flat space (overlays) which can take you up to (IIRC) 64GB (maybe only 32...not sure now.) Thank you for this information. [This is about what I had expected, but there was some discussion recently (here in my place) where people suggested that's not easy to get more than a couple of hundred MB of flat address space in NT or XP. As my own background is rather Unix-ish I finally had to retreat (although unconvinced) as my only argument was 'They surely would not waste resources like _that_'... Now I feel a bit better ;-)] Andre' |
Ads |
Thread Tools | |
Display Modes | |
|
|