1

I'm on a 64 bit Windows Server 2008 machine with 24 Gb of RAM. For a 32 bit app I would like to use the /LARGEADDRESSAWARE linker option. For this, if I'm not mistaken (and please correct me if I am) I would have set (in the past) the /3GB switch in the boot.ini file.

In Windows Server 2008 boot.ini has been superseded by the BCD store and the related BCDEDIT tool. As far as I know, calling bcdedit without any option (or with /v for verbose display) should show the current settings. Under the Windows Boot Loader section I find the following entries:

  • identifier
  • device
  • path
  • description
  • locale
  • inherit
  • osdevice
  • systemroot
  • resumeobject
  • nx

My question(s):

  • is my understanding correct? i.e. setting IncreaseUserVa meaningful in my use case?
  • what is the current value of IncreaseUserVa ? Since its entry is not shown, is it set to the default?
  • Assuming so, is the default value 2Gb ?
Francesco
  • 115
  • 1
  • 1
  • 6

1 Answers1

5

You do not need to configure the equivalent of /3GB while using a 64bit version of Windows.

A 64bit version of Windows will even assign a 4GB virtual address space instead of 3GB for 32bit applications compiled with /LARGEADDRESSAWARE flag according to Comparison of memory and CPU limits in the 32-bit and 64-bit versions of Windows in this article.

mprill
  • 602
  • 4
  • 10