title: Determining python memory usage on embedded system?
body: <p>I'm trying to figure out why a Python program I have is infinitely gobbling up memory...</p>
  
  <p>The problem is that this is an embedded system that doesn't have access to development tools like <code>pdb</code>.</p>
  
  <p>I also can't install new python modules on it like <code>memory_profiler</code>.</p>
  
  <p>How can I do this using pure Python?</p>