Would the body be hooked to anything else?

On Thu, Feb 3, 2011 at 1:19 PM, Jb Evain <[email protected]> wrote:
> Hi,
>
> On Thu, Feb 3, 2011 at 7:06 PM, Greg Young <[email protected]> wrote:
>> We are seeing quite high memory usage when holding on to cecil objects.
>
> Any stat from a memory profiler to know exactly what could be the cause?
>
>> I imagine the largest one would be from MethodDefinition->IL graph is
>> there an easy way to detach this? We don't use that information after
>> the first pass.
>
> You can always use something like:
>
> method.Body = new MethodBody (method);
>
> Not very pretty, but heh.
>
> Jb
>
> --
> --
> mono-cecil



-- 
Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer
de votre attention

-- 
--
mono-cecil

Reply via email to