Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: memory leak after unloading of ca.lib
From: Michael Davidsaver <mdavidsaver@gmail.com>
To: "Carsten Winkler (HZB)" <carsten.winkler@helmholtz-berlin.de>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 24 Feb 2017 15:33:55 -0500
On 02/24/2017 12:46 PM, Carsten Winkler (HZB) wrote:
> Hi Michael,
> 
> thanks for your help.
> 
> I wrote a stub library first, before I got the memory issues. It worked
> very well (since 2010) in Windows at 32-bit and 64-bit. In Linux 32-bit
> I could avoid the problem with delayed unloading the stub lib. Now I
> want to support Linux 64-bit too. But the delay trick doesn't work in
> that environment. That's the full story. You see, I have an old project
> that's running into problems under special conditions.
> Do you have any other advice for me?

Other the totally unhelpful suggestion not to use labview ;) you could
have your stub library use dlopen() instead of .so dependencies.


> 
> Best regards
> Carsten
> ...
> ------------------------------------------------------------------------
> 
> Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
> 
> Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher
> Forschungszentren e.V.
> 
> Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende
> Dr. Jutta Koch-Unterseher
> Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
> 
> Sitz Berlin, AG Charlottenburg, 89 HRB 5583
> 
> Postadresse:
> Hahn-Meitner-Platz 1
> D-14109 Berlin
> 
> http://www.helmholtz-berlin.de


Replies:
Re: memory leak after unloading of ca.lib Carsten Winkler
References:
memory leak after unloading of ca.lib Carsten Winkler
Re: memory leak after unloading of ca.lib Michael Davidsaver
Re: memory leak after unloading of ca.lib Ben Franksen
RE: memory leak after unloading of ca.lib Hill, Jeff
Re: memory leak after unloading of ca.lib Michael Davidsaver
RE: memory leak after unloading of ca.lib Hill, Jeff
Re: memory leak after unloading of ca.lib Michael Davidsaver
Re: memory leak after unloading of ca.lib Carsten Winkler
Re: memory leak after unloading of ca.lib Michael Davidsaver
Re: memory leak after unloading of ca.lib Carsten Winkler (HZB)

Navigate by Date:
Prev: Re: streamDevice protocol - accept two different valid responses Ford, Christopher
Next: RE: Why we want Lua on the IOC Lang, Keenan C.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: memory leak after unloading of ca.lib Carsten Winkler (HZB)
Next: Re: memory leak after unloading of ca.lib Carsten Winkler
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 28 Feb 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·