Hi Wladimir,
On Tue, 2005-05-17 at 17:05 +0200, Wladimir Lukutin wrote:
> hi,
>
> i've got an weird problem with following code:
>
> TransformPtr transcore = osg::TransformPtr::dcast(node->getCore());
> m.setIdentity();
> m.setTranslate(Vec3f(v));
>
> beginEditCP(transcore, Transform::MatrixFieldMask );
> transcore->setMatrix(m);
> endEditCP (transcore, Transform::MatrixFieldMask );
>
> This piece of code is executed in a loop of a thread. The code works,
> but the problem is that the memory usage of the application increases
> continuously. If I uncomment those begin- and endEditCP lines, memory
> does not leak any more, but of course the desired change lists
> functionality gets lost.
Do you ever clear the change list? That's usually the cause for a
creeping mem leak.
Dirk
--
-- Dirk Reiners OpenSG Forum [EMAIL PROTECTED]
-- The OpenSG Open Source Scenegraph: http://www.opensg.org
-- Join the list at http://lists.sf.net/lists/listinfo/opensg-users
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users