Re: How to fix memory leak issue when calling Java from .net?
Jeroen Frijters <[email protected]> Fri, 15 May 2015 06:56:28 +0000
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
You need to build all dlls. The build instructions are in HOWTO. To target .NET 4.0 you need to use a newer version of nant (I use NAnt 0.91 for that). > -----Original Message----- > From: Asif Iqbal [mailto:[email protected]] > Sent: Thursday, May 14, 2015 18:56 > To: Jeroen Frijters > Cc: [email protected] > Subject: Re: [Ikvm-developers] How to fix memory leak issue when calling > Java from .net? > > Thanks. I didn't realize that. In order to build the source code for > .net 4.0, I will need OpenJdk dlls. Can I use IKVM.OpenJDK.* dlls from > compiled version of IKVM? > > Thanks, > -Asif > > > On May 14, 2015, at 4:42 AM, Jeroen Frijters <[email protected]> > wrote: > > > > 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