ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There may be something not cleaning up properly, but python does not necessarily clean up when del is called. http://effbot.org/pyfaq/why-doesnt-python-release-the-memory-when-i-delete-a-large-object.htm

Here are some more resources if you want to dig in deeper:

  • https://stackoverflow.com/questions/15455048/releasing-memory-in-python
  • https://docs.python.org/2/reference/simple_stmts.html#the-del-statement
  • https://stackoverflow.com/questions/865115/how-do-i-correctly-clean-up-a-python-object
  • http://eli.thegreenplace.net/2009/06/12/safely-using-destructors-in-python