I'll go out on a limb an suggest your field initializer is taking a lot of memory? :)
Can you show what you're injecting? On Wed, Feb 4, 2015 at 5:12 PM, Reh Gina <[email protected]> wrote: > Via injection I am adding a static field into a static class which already > contains two static fields. Injection code checks if static constructor is > already available, otherwise it will create one. In this case the static > constructor is available and the initialization of the static field is just > added before the existing instructions. At run time an OutOfMemoryException > occurs if accessing the injected object. > Does anybody has an Idea what can cause this exception? > > -- > -- > -- > 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.
