[Mono-dev] crossAppDomain memory leak ?

Robert Jordan robertj at gmx.net
Mon Jan 28 19:07:00 EST 2008


Hi,

Shawn Schaerer wrote:
> 
> 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.
> 

Please post a self-containing, compilable test case that exercises
the problem. Preferably together with a bug report at

	http://mono-project.com/Bugs

Robert




More information about the Mono-devel-list mailing list