Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikael Kaulanen 3 posts 73 karma points
    Dec 03, 2019 @ 07:03
    Mikael Kaulanen
    0

    Outofmemory exception on ImageProcessor

    Hello, When upgrading from Umbraco 7.2.2 to 7.15.1 I suddenly got Outofmemory in one of the test environments. I had it up and running at first, but after some bug fixes, not related to this suddenly this happened.

    ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.TypeInitializationException: The type initializer for 'ImageProcessor.Web.Helpers.ImageHelpers' threw an exception. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Reflection.AssemblyName.nGetFileInformation(String s) at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) at ImageProcessor.Common.Helpers.TypeFinder.GetAllAssemblies() at ImageProcessor.Common.Helpers.TypeFinder.GetFilteredAssemblies(IEnumerable1 excludeFromResults, String[] exclusionFilter) at ImageProcessor.Common.Helpers.TypeFinder.GetAssembliesWithKnownExclusions(IEnumerable1 excludeFromResults) at ImageProcessor.Configuration.ImageProcessorBootstrapper.LoadSupportedImageFormats() at ImageProcessor.Configuration.ImageProcessorBootstrapper..ctor() at ImageProcessor.Configuration.ImageProcessorBootstrapper.<>c.<.cctor>b19_0() at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue() at System.Lazy1.get_Value() at ImageProcessor.Web.Helpers.ImageHelpers.BuildExtensionRegexPattern() at ImageProcessor.Web.Helpers.ImageHelpers..cctor() --- End of inner exception stack trace --- at ImageProcessor.Web.Helpers.ImageHelpers.IsValidImageExtension(String fileName) at ImageProcessor.Web.Services.LocalFileImageService.IsValidRequest(String path) at ImageProcessor.Web.HttpModules.ImageProcessingModule.<>c__DisplayClass37_0.<GetImageServiceForRequest>b__0(IImageService s) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func`2 predicate) at ImageProcessor.Web.HttpModules.ImageProcessingModule.GetImageServiceForRequest(String url, String applicationPath) at ImageProcessor.Web.HttpModules.ImageProcessingModule.31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies