To be clear, I can patch to not use the LOH pretty quickly and easily
its the everything gets held in memory part thats a bit of an issue we
really only need the metadata and it seems that getting the metadata
copied over will be a pretty involved task.

On Tue, Sep 13, 2011 at 7:37 PM, Greg Young <[email protected]> wrote:
> I know I have put up some discussion about this in the past but is
> there anyway (possibly something new) to lower cecil's memory usage?
>
> I have looked at copying over cecil objects and it would be a pretty
> major task. The alternative is to make cecil objects as short lived as
> possible. Basically what we want is to only hold all of the metadata
> that is provided and none of the code. We have already taken the easy
> mechanism of setting MethodBodys to a new MethodBody after reading
> them but the module still holds the whole assembly in the LOH.
>
> Greg
>
> --
> Le doute n'est pas une condition agréable, mais la certitude est absurde.
>
> --
> --
> mono-cecil



-- 
Le doute n'est pas une condition agréable, mais la certitude est absurde.

-- 
--
mono-cecil

Reply via email to