Hi,

On Wed, 2006-09-06 at 19:06 +0200, Carlo Moritz Goellner wrote:
> Dirk Reiners wrote:
> > So far I haven't found any real memory leaks. I define those as things 
> > that keep growing as the app runs, e.g. you keep displaying and changing 
> > things and memory keeps on growing. I haven't seen any of those in a while.
> 
> Hi,
> 
> recently I wrote about a memory leak which appeared after an
> update to the current CVS version of OpenSG. The memory leak
> is related to osg::Geometry and thread aspects.
> 
> Nobody answered, though. Everybody was busy at that time because
> of the Siggraph, I assume. :)
> 
> Thus, I take the opportunity to mention it again. Quote:
> 
> > [...] observed a memleak related to OpenSG
> > threads aspects. (topic was "memleak, thread sync")
> > 
> > I found out that this memleak is caused by a change
> > of osg::Geometry, where some cleanup-code was moved
> > from the destructor to Geometry::onDestroy(). The
> > CVS log entry is:
> > 
> > Revision : 1.30
> > Date : 2006/1/8 14:20:38
> > Author : 'a-m-z'
> > State : 'Exp'
> > Lines : +35 -27
> > Description :
> > moved destructor code into onDestroy this fixed some strange gl object 
> > create/destroy cycle (with the same id)
> > 
> > I fixed the memory leak by calling onDestroy() for
> > every thread aspect in FieldContainerPtrBase::deleteContainers().
> > See code at the end on the email.
> > 
> > Any comments on that?

we tried, but so unfortunately Andreas could not remember in detail what
the problem was and the test case also does not exist anymore. One
way would be to reverse the patch and wait for the problem to happen.
I have to look into a similar area anyway so I will look into it during
the next few days. Let's see what I find.

regards,
  gerrit





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to