[osg-users] How to avoid Javas Garbage Collection to free large data array elements ?
Christian Kehl
christian-kehl at web.de
Thu Jul 30 12:52:13 PDT 2015
Hi Rafa,
Thanks for the feedback - I'll have a look into the osgjni part again. The extended wrappers work well until now, but the arrays (Vec<2,3,4>Array) I just wrapped via their object pointer in osgAndroid, as all other classes. So, I can add them to the upper-level geometry, but somwhere along the line the RefVec<2,3,4> objects bound to the Java Vec<2,3,4> classes get lost.
I'll post some update when I get further.
Cheers,
Christian
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64538#64538
More information about the osg-users
mailing list