Performance issues and OutOfMemoryException
Versions:
n/a,
FAQ number:
153,
Old FAQ number: 6067
Framework version
If you encounter Memory Exception problems, the first thing you should do is to make sure that you have Service Pack 1 for .NET Framework 1.1 installed. Memory Exceptions will occur more frequently if you have .NET FW 1.1 without the SP and they will also occur during much lower memory loads.
To make sure that you have SP1 installed use the registry editor to check the value of the key HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\SP. The value corresponds to the latest service pack installed.
EPiServer 4.51 Hotfix 4 and later
Starting with 4.51 hotfix 4, there is a feature in EPiServer that may conserve very large amounts of memory on high content-site. If you site is regularily using 1Gb or more of memory (after following the other advice here, allowing such amounts to be used safely), you may benefit from this feature. In brief, it allows for selective compression of LongString and derived properties when stored in the memory cache, this can yield benefits up to a factor of 10 or more in reduced memory requirements. Please see the documentation for hotfix 4 for further details.
Microsoft background information
The following Microsoft article is a very good reference when you are experiencing performance problems or when you are experiencing OutOfMemoryExceptions: