I have just finished embedding python in my game but every time it causes memory leak:
Detected memory leaks!
Dumping objects ->
{3902} normal block at 0x000000000487A580, 912 bytes long.
Data: < po > 00 00 00 00 00 00 03 70 6F FB FB FB FB FB FB FB
{3900} normal block at 0x0000000004879F40, 912 bytes long.
Data: < po > 00 00 00 00 00 00 03 70 6F FB FB FB FB FB FB FB
...
{354} normal block at 0x00000000027400B0, 262144 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
{353} normal block at 0x0000000001F1D050, 768 bytes long.
Data: < t x > B0 00 74 02 00 00 00 00 00 00 78 02 00 00 00 00
Object dump complete.
I have just called ::Py_Initialize(); and ::Py_Finalize(); but despite that it's still causing memory leaks. After Googling, seems like am not the only one. Any solution
embedded Python memory leak
While the Visual Studio debugger does report it as memory leak, but seems like in fact it's not. It's reporting false memory leak info. Solved via: http://bugs.python.org/issue13418
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement