Re: Breaking the 2GB barrier
- From: Frank Rizzo <none@xxxxxxxx>
- Date: Fri, 27 Oct 2006 13:50:19 -0700
Note that vs2003 only "produces" X86 code, more exactly , the V1.1 JIT compiler only emits X86 code.
Anyway, all X86 code that runs on X64 (WOW64) has access to 4GB of user memory, provided that you have set the LARGEADDRESSAWARE header flag.
LARGEADDRESSAWARE can be set by means of the editbin.exe tool from the platform SDK, like this:
editbin /LARGEADDRESSAWARE <progamfile>
Another question. If I run editbin /LARGEADDRESSAWARE on my vs2003 compiled app, can it now access more than 2GB on the Windows Server 2003 (32-bit standard or enterprise edition)? The Windows Server is setup with the /3GB switch.
Thanks.
.
- Follow-Ups:
- Re: Breaking the 2GB barrier
- From: Willy Denoyette [MVP]
- Re: Breaking the 2GB barrier
- References:
- Breaking the 2GB barrier
- From: Frank Rizzo
- Re: Breaking the 2GB barrier
- From: Willy Denoyette [MVP]
- Re: Breaking the 2GB barrier
- From: Frank Rizzo
- Re: Breaking the 2GB barrier
- From: Willy Denoyette [MVP]
- Breaking the 2GB barrier
- Prev by Date: Re: Question of a Java programmer
- Next by Date: Re: Question of a Java programmer
- Previous by thread: Re: Breaking the 2GB barrier
- Next by thread: Re: Breaking the 2GB barrier
- Index(es):
Relevant Pages
|