Skip to content

OutofMemory Exception #14

Description

@RManesiya

Every now and then we get following error. Any fix that may be available to resolve this?

System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at System.Runtime.InteropServices.Marshal.AllocHGlobal(IntPtr cb)
at BrotliSharpLib.Brotli.DefaultAllocFunc(Void* opaque, SizeT size)
at BrotliSharpLib.Brotli.BrotliAllocate(MemoryManager& m, SizeT n)
at BrotliSharpLib.Brotli.RingBufferInitBuffer(MemoryManager& m, UInt32 buflen, RingBuffer* rb)
at BrotliSharpLib.Brotli.RingBufferWrite(MemoryManager& m, Byte* bytes, SizeT n, RingBuffer* rb)
at BrotliSharpLib.Brotli.CopyInputToRingBuffer(BrotliEncoderStateStruct& s, SizeT input_size, Byte* input_buffer)
at BrotliSharpLib.Brotli.BrotliEncoderCompressStream(BrotliEncoderStateStruct& s, BrotliEncoderOperation op, SizeT* available_in, Byte** next_in, SizeT* available_out, Byte** next_out, SizeT* total_out)
at BrotliSharpLib.BrotliStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count, BrotliEncoderOperation operation)
at BrotliSharpLib.BrotliStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at WebMarkupMin.AspNet4.Common.HttpCompressionFilterStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Write(String value)
at WebMarkupMin.AspNet4.Common.MarkupMinificationFilterStream.Close()
at System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr)
at System.Web.HttpResponse.FilterOutput()
at System.Web.HttpApplication.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions