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

Reply via email to