Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is the Visual Studio Application 32Bit , and thus can only address max 4GB ram?

share|improve this question

migrated from stackoverflow.com Sep 3 '09 at 10:59

This question came from our site for professional and enthusiast programmers.

add comment

3 Answers

up vote 10 down vote accepted

Yes, Visual Studio is 32bit. To produce 64-bit code of your program it uses cross compiler (but there is already Beta 2 version of 64-bit tools).

It could use 3Gb of virtual memory on 32-bit OS (when OS loaded with increaseuserva switch or /3GB switch on WinXP), and 4Gb of virtual memory on 64-bit OS. It was built with LARGEADDRESSAWARE flag. You could check it by using dumpbin utility with /HEADERS switch. To get more information on virtual memory limits you could read this article by Mark Russinovich.

share|improve this answer
add comment

Yes, it is still 32-bit. Rico Mariani has an explanation of why.

share|improve this answer
add comment

As said above, Visual studio is 32-bit application. That's why IDE can use only 2BG of virtual memory. But exists solution that allows your VS use more memory. In this article explains how you can do that.

share|improve this answer
1  
VS already built with LARGEADDRESSAWARE. No need to edit it. –  Kirill Sep 3 '09 at 10:33
    
This would have possibly been a concern on VS 2005 or even 2003, but the question is for VS2008 –  Nick Josevski Sep 3 '09 at 11:28
    
Actually running under 64 bit operating systems 32 bit applications can now address up to 4 GB. –  Justin Nov 1 '09 at 20:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.