craig.biggs_ Posted February 19, 2014 Posted February 19, 2014 Hi, I thought I'd just feed back something I've found in my code. Repeated calls to ObjectMeshSkinned::restoreState appears to result in a memory leak. Basically my code does something like this. ObjectMeshSkinned oms = new ObjectMeshSkinned("blah") Buffer buf = new Buffer(); buf.seekSet(0); oms.saveState(buf); ... buf.seekSet(0); oms.restoreState(buf); ... Do some more stuff which modifies the state of my skinned mesh buf.seekSet(0); oms.restoreState(buf); After each subsequent call to restoreState there is a growth in memory usage. If you were to do this call numerous times, the commited memory of the Unigine process keeps growing and growing. I have a workaround for this, but I just thought I'd feed this back to the devs to look into.
silent Posted February 21, 2014 Posted February 21, 2014 Hi Craig, Sorry for the late reply. Could you please tell the SDK version that you are currently using? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
craig.biggs_ Posted February 24, 2014 Author Posted February 24, 2014 Currently using 27.11.2013 SDK.
Recommended Posts