Click here to Skip to main content
15,886,056 members
Articles / Programming Languages / C#

Use AppDomains To Reduce Memory Consumption in .NET applications

Rate me:
Please Sign up or sign in to vote.
4.74/5 (35 votes)
30 Mar 20046 min read 191.8K   1.5K   90  
AppDomains allow sharing of the .NET runtime to save on memory usage.
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Verifide.ApplicationHost", "Verifide.ApplicationHost.csproj", "{68C9D94A-0582-4379-B2CD-6E380A9B5204}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StayinAlive", "StayinAlive\StayinAlive.csproj", "{0535F303-FDF4-4A3F-85F0-815E6544731D}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Win32StayinAlive", "Win32StayinAlive\Win32StayinAlive.vcproj", "{D1B92314-9154-4FBB-8F12-E4B03CCD6936}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StayinAliveForm", "StayinAliveForm\StayinAliveForm.csproj", "{8C029301-34F2-436F-AD15-32C09712D911}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		Debug = Debug
		Release = Release
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{68C9D94A-0582-4379-B2CD-6E380A9B5204}.Debug.ActiveCfg = Debug|.NET
		{68C9D94A-0582-4379-B2CD-6E380A9B5204}.Debug.Build.0 = Debug|.NET
		{68C9D94A-0582-4379-B2CD-6E380A9B5204}.Release.ActiveCfg = Release|.NET
		{68C9D94A-0582-4379-B2CD-6E380A9B5204}.Release.Build.0 = Release|.NET
		{0535F303-FDF4-4A3F-85F0-815E6544731D}.Debug.ActiveCfg = Debug|.NET
		{0535F303-FDF4-4A3F-85F0-815E6544731D}.Debug.Build.0 = Debug|.NET
		{0535F303-FDF4-4A3F-85F0-815E6544731D}.Release.ActiveCfg = Release|.NET
		{0535F303-FDF4-4A3F-85F0-815E6544731D}.Release.Build.0 = Release|.NET
		{D1B92314-9154-4FBB-8F12-E4B03CCD6936}.Debug.ActiveCfg = Debug|Win32
		{D1B92314-9154-4FBB-8F12-E4B03CCD6936}.Debug.Build.0 = Debug|Win32
		{D1B92314-9154-4FBB-8F12-E4B03CCD6936}.Release.ActiveCfg = Release|Win32
		{D1B92314-9154-4FBB-8F12-E4B03CCD6936}.Release.Build.0 = Release|Win32
		{8C029301-34F2-436F-AD15-32C09712D911}.Debug.ActiveCfg = Debug|.NET
		{8C029301-34F2-436F-AD15-32C09712D911}.Debug.Build.0 = Debug|.NET
		{8C029301-34F2-436F-AD15-32C09712D911}.Release.ActiveCfg = Release|.NET
		{8C029301-34F2-436F-AD15-32C09712D911}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
President Verifide Technologies, Inc.
United States United States
Neil Baliga is the founder of Verifide Technologies, Inc. (www.verifide.com), an initiative for automated test systems for product verification used in manufacturing. He strongly believes that the value in software is in its simplicity. His experience includes UNIX, Win32 API, TCP/IP multithreaded servers, C#, C++ et. al, and Radio Frequency (RF) measurement science. He came across .NET in 2001 and has been in love with it ever since. He is an avid LA Lakers and Denver Broncos fan and loves to hang out with his dog 'Reboot'. He is extremely lucky to have the love and support of his beautiful wife Jyothi.

Comments and Discussions