Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX SDK / memory leak in FBX SDK 2012.1 when importing 3DS file
  RSS 2.0 ATOM  

memory leak in FBX SDK 2012.1 when importing 3DS file
Rate this thread
 
56877
 
Permlink of this thread  
avatar
  • Total Posts: 1
  • Joined: 13 June 2011 10:11 PM

I have recently used FBX SDK 2012.1 (windows 7 x64, vs2010) to import some 3DS files, everything is fine except that there are memory leaks.
To produce this problem, just add the following lines to the tail of main() funtion in FBX SDK examples “Normals”:

#ifdef _DEBUG
// get the current state of the flag
int nCrtDbgFlag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG);
// set memory leak check flag
nCrtDbgFlag |= _CRTDBG_LEAK_CHECK_DF;
// set the new debug flag
_CrtSetDbgFlag(nCrtDbgFlag);
#endif

Start the program in vs2010 (you must press F5 to start) and specify a 3DS file in command argument, after the program exited you will see several memory leak reports in the output windows.



Replies: 0
avatar
  • zoujy06
  • Posted: 22 June 2011 08:05 PM

HI,
I also find the memory leak problem.
How can I avoid it?



Replies: 0
avatar

Hi,

I logged a bug for this. Thanks.

Viviane
Maya Data Platform
Autodesk



Viviane Rochon
Maya Data Platform
Autodesk

Replies: 0