[Mono-dev] crossAppDomain memory leak ?

Shawn Schaerer shawn at cogmation.com
Mon Jan 28 18:48:13 EST 2008


Hi,

I am reading and writing data from a separate appdomain ( running on  
the same machine, in the same program) and am getting a lot of memory  
consumption.



We are accessing data structures from a class instantiated in the new  
appdomain.
	
Example::

	MylocalClass = NewAppDomainClass;   // get reference to class  
instance in new appdomain
	
	bool b = MylocalClass.boolArray[ x].Value;  // Get single value from  
appdomain

  	
Is there a memory leak in the crossappdomainchannel ?  or are there  
some tricks to making this work properly ?


This problem exists for all data types, primitives, arrays and custom  
classes.




Thanks,


Shawn Schaerer
Director of Research and Development
Cogmation Robotics Inc
www.cogmation.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080128/a2f448a1/attachment.html 


More information about the Mono-devel-list mailing list