jono.pare
05-07-2009, 06:48 PM
Hi,
I have a question about the dynamically compiled proxies that we get when using all the cool AOP functionality in spring.net: if I create enough of them, will I eventually run out of virtual memory in my process? I ask because I'm not sure if .NET provides a way to "unload" types (or allow them to be garbage collected), and if we're continuously adding new types (created on demand) then surely this will over time add pressure on our addressable memory space? I'm not asking for any solutions (I'm sure that using separate app domains or recycling processes would both suffice in most cases) I'm just curious about the behaviour and I felt sure somebody in this group would be able to point me to the answer.
Many thanks,
Jono
I have a question about the dynamically compiled proxies that we get when using all the cool AOP functionality in spring.net: if I create enough of them, will I eventually run out of virtual memory in my process? I ask because I'm not sure if .NET provides a way to "unload" types (or allow them to be garbage collected), and if we're continuously adding new types (created on demand) then surely this will over time add pressure on our addressable memory space? I'm not asking for any solutions (I'm sure that using separate app domains or recycling processes would both suffice in most cases) I'm just curious about the behaviour and I felt sure somebody in this group would be able to point me to the answer.
Many thanks,
Jono