<div dir="ltr"><div><div><div><div><div>hello,<br><br></div>I am doing the following experiment:<br><br>osg::ref_ptr<osg::Vec3Array> array(new osg::Vec3Array);<br></div>array->resize(300000000);<br></div>array->clear();<br><br></div>This does not deallocate the memory.<br><br></div>How do I effectively deallocate the memory from the std::vector encapsulated in the osg::Vec3Array?<br></div>