Re: Java, SWIG, Memory leak?

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Java-SWIG-Memory-leak-tp14098p14099.html

I'm not familiar with Java, but maybe you have to force garbage collection?

Luigi

On Mon, Mar 4, 2013 at 4:23 PM, Philip Wattenbarger
<[hidden email]> wrote:

> Firstly… great job thanks so much!  The libraries are fantastic.
>
>
>
> I pulled and built on Ubuntu the boost, quantlib and swig components.
>
> I rebuilt boost and quantlib with sessions enabled and then built the swig
> java component.
>
>
>
> I ran a unit test within java evaluating a simple European option and it
> appears to not be releasing the memory.
>
> I even tried to call delete and set the java object to null to force the
> memory clean up.
>
>
>
> Has anyone had this occur and or am I missing something obvious.
>
>
>
> Thanks
>
>
>
> Philip Wattenbarger
> philip_wattenbarger_at_microsoft_warm_mail.com
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users