Re: [Ikvm-developers] How to fix memory leak issue when calling Java from .net?
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2015-05-14 09:42:24
|
If drools is dynamically loading Java classes (i.e. not ikvmc compiled code), then that code will not be garbage collected when running on the released ikvm binaries. This is because ikvm still targets .NET 2.0 and that does not support code GC. If you want to enable class GC, you'll need to build ikvm from source, targetting .NET 4.0. Regards, Jeroen > -----Original Message----- > From: Asif Iqbal [mailto:ch...@ya...] > Sent: Thursday, May 14, 2015 3:00 > To: ikv...@li... > Subject: [Ikvm-developers] How to fix memory leak issue when calling > Java from .net? > > Hi, > I have converted drools 6.2 to .net dll using ikvmc. Every thing is > working fine but I have noticed that every time I reload an object the > previous instance doesn't go away and it takes more time to reload. Does > anyone know how to release or destroy the Java object in .net? > > Thanks, > -Asif > ------------------------------------------------------------------------ > ------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Ikvm-developers mailing list > Ikv...@li... > https://lists.sourceforge.net/lists/listinfo/ikvm-developers |