Process Memory limit of 64-bit process

后端 未结 5 2033
执念已碎
执念已碎 2021-02-05 08:02

I currently have a 32-bit .Net application (on x86 Windows) which require lots of memory. Recently it started throwing System.OutOfMemoryException\'s.

So, I am planning

5条回答
  •  清歌不尽
    2021-02-05 08:54

    The maximum memory limit for x64 processes is 8 TB, but the practical limit is far less as it depend on the amount of physical memory and the pagefile size on your system. See this post for more details on this.

    The IMAGE_FILE_LARGE_ADDRESS_AWARE affect an x86 process running on a x64 OS (or a x86 OS with the /3GB directive). Your x64 application does not need to set the large address aware flag and it will be able to use all the available virtual memory on your system.

提交回复
热议问题