Re: How to fix memory leak issue when calling Java from .net?
Jeroen Frijters <[email protected]> Thu, 14 May 2015 09:42:10 +0000
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
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:[email protected]] > Sent: Thursday, May 14, 2015 3:00 > To: [email protected] > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/ikvm-developers ------------------------------------------------------------------------------ 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