DCSIMG
Three wrong assumptions - Dotmad (on .Net)

Dotmad (on .Net)

Just Another Web 5.0 Blog

Podcasts

Blogroll

Three wrong assumptions

Did some blog reading today, and found out several assumptions I had which were wrong:

  • Assumption: "Protected Internal" means both protected and internal
    Wrong: It means Protected OR Internal.

  • Assumption: 32bit Windows is limited to 2/4gb ram
    Wrong: It's limited to 2gb of ram per application.

  • Assumption: OpenFileDialog is harmless
    Wrong: It loads a mini-explorer, including all the extensions you have installed.

 

פורסם: Nov 11 2007, 08:53 PM by Dotmad | with 2 comment(s)

תוכן התגובה

Noam כתב/ה:

The memory limit on 32bit OS is not 2GB, This is true for NORMAL applications. On For a start on Windows 2000 Server and above (Including XP Pro) you can have 3GB for application by using the 3GB switch in the boot.ini www.microsoft.com/.../PAEmem.mspx)and "IMAGE_FILE_LARGE_ADDRESS_AWARE" on the PE file of the application.

another option on 2003 Server Enterprise (for 32GB) or Datacenter (for 64GB) is using the /PAE (Physical Address Extension) (www.microsoft.com/.../pae_os.mspx) and using special API for memory paging

# November 12, 2007 11:21 AM

Adi כתב/ה:

There is some conflict between the PAE and 3GB switches (blogs.msdn.com/.../216492.aspx) as well as other effects for the 3GB switch (blogs.msdn.com/.../218527.aspx).

# November 12, 2007 9:31 PM