Visual Studio Development Bookmark and Share   
 index > Visual Studio Extensibility > Add-in: How much dynamic memory is available for VS2005\VS2008 Add-Ins?
 

Add-in: How much dynamic memory is available for VS2005\VS2008 Add-Ins?

Hi,

According to what I heard (and please correct me if I'm wrong) a regular .Net application have 2 Giga of dynamic memory for usage during its execution (at most).

Does VS2005\VS2008 Add-in applicatoins have the ability to use this amount of dynamic memory as well, or do they have a lower limit of dynamic memory for their usage?

Does the answer is the same for all operating systems (XP, Vista, etc.) and .Net Frameworks?

Regards
Trinominal  Monday, October 12, 2009 3:05 PM

Hi, Trinominal
In theory in 32bit system, the most memory for an application is 4G(232), but some other things(like OS) will occupy some memory, so actuall the memory space for an application is about 2G more. But it is limited to 2G(You can use more than 2G by changing the swtich to 3G in boot.ini file).
For the addin is in within the process boudaries in the visual studio process(devenv.exe),  so I think its dynamic memory depend on by the memory limitation of devenv process.
But for the 64bit sytem, the application has much more memory space, for it has 264 virtual memory size in theory.

Hope this could help!

Thanks

Chao

  • Marked As Answer byTrinominal Wednesday, October 14, 2009 12:32 AM
  •  
Chao Kuo  Tuesday, October 13, 2009 6:06 AM
Hello,

See my post:

The strange case of Visual Studio getting "out of memory"
http://msmvps.com/blogs/carlosq/archive/2009/06/09/the-strange-case-of-visual-studio-getting-quot-out-of-memory-quot.aspx
MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com. My blog about VS extensibility: http://msmvps.com/blogs/carlosq/
Carlos Quintero - MVP  Tuesday, October 13, 2009 8:11 AM

Hi, Trinominal
In theory in 32bit system, the most memory for an application is 4G(232), but some other things(like OS) will occupy some memory, so actuall the memory space for an application is about 2G more. But it is limited to 2G(You can use more than 2G by changing the swtich to 3G in boot.ini file).
For the addin is in within the process boudaries in the visual studio process(devenv.exe),  so I think its dynamic memory depend on by the memory limitation of devenv process.
But for the 64bit sytem, the application has much more memory space, for it has 264 virtual memory size in theory.

Hope this could help!

Thanks

Chao

  • Marked As Answer byTrinominal Wednesday, October 14, 2009 12:32 AM
  •  
Chao Kuo  Tuesday, October 13, 2009 6:06 AM
Hello,

See my post:

The strange case of Visual Studio getting "out of memory"
http://msmvps.com/blogs/carlosq/archive/2009/06/09/the-strange-case-of-visual-studio-getting-quot-out-of-memory-quot.aspx
MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com. My blog about VS extensibility: http://msmvps.com/blogs/carlosq/
Carlos Quintero - MVP  Tuesday, October 13, 2009 8:11 AM

You can use google to search for other answers

Custom Search

More Threads

• Transform All Templates processes WPF XAML files
• Change shape at run-time
• How can I integrate the DLLs made in VC++ to my VB.net project
• React on debug start
• [DSLTools] How to extend ModelElement class??
• Launching diffmerge utility
• Confused by VS 2005?
• Unloading a Solution from ProjectContainerNode.Load(...)
• Hierarchy node expand/collapse problem
• VSX CoDe Focus Magazine online