Hello Marko, Please try upgrading to 0.10-beta5 using the information at http://cecil.pe
And let us know if that still happens. Thanks, Jb On Mon, May 1, 2017 at 10:05 AM, Marko Vasic <[email protected]> wrote: > I am getting an OutOfMemoryException (stack trace shown below). Do you > have an idea what might be the cause? > I am curious when does ModuleDefinition release its resources, and whether > there is an explicit way to do that, or one has to rely on GC? > I am using Mono.Cecil version 0.9.6.4 > > System.OutOfMemoryException occurred > HResult=0x8007000E > Source=Mono.Cecil > StackTrace: > at Mono.Cecil.Cil.CodeReader.ReadCode() > at Mono.Cecil.Cil.CodeReader.ReadFatMethod() > at Mono.Cecil.Cil.CodeReader.ReadMethodBody() > at Mono.Cecil.Cil.CodeReader.ReadMethodBody(MethodDefinition method) > at Mono.Cecil.MethodDefinition.<>c.<get_Body>b__33_0(MethodDefinition > method, MetadataReader reader) > at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TRet& variable, TItem > item, Func`3 read) > at Mono.Cecil.MethodDefinition.get_Body() > ... > > -- > -- > -- > mono-cecil > --- > You received this message because you are subscribed to the Google Groups > "mono-cecil" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- -- mono-cecil --- You received this message because you are subscribed to the Google Groups "mono-cecil" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
