문제

What amount of memory is available (theoretically) to application on 32 bit system? Different OSes? 2 or 1 Gb?

thx!

도움이 되었습니까?

해결책

It depends on the OS.

32-bit Windows by default allocates 2GB to the application and 2GB to the kernel, so theoretically your application could allocate up to 2GB. You can change this allocation on some versions of windows by using the 4GT boot flags. Check out this MSDN article for more information.

64-bit Windows has much more, something like 8TB.

I think Linux in general has 3GB of user space, but I'm not completely sure.

다른 팁

All of the memory is available to the application. There may be limits on how much address space the application can use, and thus how much memory it can map at one time. But typically, the application can use every single byte of physical memory if it wishes to.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top