Bug reports Found a bug? Post it here please.
Version 6.x > Bug reports > Exception of type 'System.OutOfMemoryException' was thrown. View modes: 
User avatar
Member
Member
hungquang_itsyad-yahoo.com - 10/3/2012 10:57:49 PM
   
Exception of type 'System.OutOfMemoryException' was thrown.
Hi all,

Some times I have errors:
Server Error in '/' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity) +26
System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +85
System.Web.Compilation.BaseTemplateBuildProvider.GetGeneratedType(CompilerResults results) +46
System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results) +45
System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results) +13
System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(String themeName) +737
System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext context, String themeName) +73
System.Web.UI.Page.InitializeThemes() +8712767
System.Web.UI.Page.PerformPreInit() +38
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282

Version Information: Microsoft .NET Framework Version:2.0.50727.3634; ASP.NET Version:2.0.50727.3634

What's my problem, and how to fix it?

Thank!

User avatar
Kentico Support
Kentico Support
kentico_radekm - 10/4/2012 7:32:00 AM
   
RE:Exception of type 'System.OutOfMemoryException' was thrown.
Hello.

It's unfortunately not possible to reveal exact cause of this behavior without detailed information or direct experience with your environment.

Moreover, this seems to be your environment issue (its ASP.NET error raised by .NET Framework) and I would suggest trying to find more details about this issue according to advices in the last post of the asp.net forums discussion at http://forums.asp.net/p/1045834/1467039.aspx and optionally try to find a solution e.g. in Microsoft forums or contact Microsoft support directly.

Best Regards,
Radek Macalik