Jump to content
  • Advertisement
Sign in to follow this  
Asesh

embedded Python memory leak

This topic is 2588 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!