Thanks for the quick response. I spent some time yesterday working on a very similar fix. I was planning on submitting it to the mailing list today. :) I will compare our changes and start testing with your patch applied.
Thanks again, Aron Aron Bierbaum Senior Software Engineer Priority 5 On Feb 7, 2011, at 7:07 PM, Carsten Neumann <carsten_neum...@gmx.net> wrote: > Hello all, > > On 02/07/2011 06:04 PM, Gerrit Voß wrote: >> if these are only headers and one can use the 1.36 version with the rest >> of 1.33 (have not tried it) put it into Source/External and include it >> from there on these platforms. We do this with the google hash_map >> implementation and I pulled the circular buffers from a later boost >> version within the complex scene manager. > > hmm, that would be an option, but I wasn't set up to test this right away > (running Fedora 13 here), so I gave the OSGDeprecatedCPP.h a try, see > attached patch. > With that and the slightly modified (only added CL clearing) test program > Aron sent, I get constant memory consumption as reported by top (left it > running for 5+ minutes), so I guess it at least does not have explosive > memory consumption. > The patch is very lightly tested and I think it's possible that there may be > some code path (probably in the cluster code) that relies more strongly on > the factory store being sorted than it should ;) > > Feedback/comments welcome. > > Cheers, > Carsten > <FCFactory.hash_map.diff> > <testAronMemoryProblem.cpp> > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Opensg-users mailing list > Opensg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/opensg-users ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users