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

Reply via email to