Server Error in '/' Application.

Out of memory.

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: Out of memory.

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: Out of memory.]
   System.Drawing.Bitmap..ctor(Stream stream, Boolean useIcm) +475948
   ImageResizer.ImageBuilder.DecodeStream(Stream s, ResizeSettings settings, String optionalPath) +184
   ImageResizer.ImageBuilder.LoadImage(Object source, ResizeSettings settings, Boolean restoreStreamPos) +664
   ImageResizer.ImageBuilder.BuildJob(ImageJob job) +183
   ImageResizer.ImageBuilder.Build(ImageJob job) +242
   ImageResizer.ImageBuilder.Build(Object source, Object dest, ResizeSettings settings, Boolean disposeSource, Boolean addFileExtension) +107
   ImageResizer.ImageBuilder.Build(Object source, Object dest, ResizeSettings settings, Boolean disposeSource) +23
   ImageResizer.ImageBuilder.Build(Object source, Object dest, ResizeSettings settings) +18
   ImageResizer.<>c__DisplayClass3.<HandleRequest>b__2(Stream stream) +222
   ImageResizer.Plugins.Basic.NoCacheHandler.ProcessRequest(HttpContext context) +164
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +188
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +71


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0