[Baypiggies] find memory leaks in running program
tony at tcapp.com
Tue Dec 7 18:47:41 CET 2010
Well, it's not a good idea to install yet another package that may
introduce more leaks or other problems.
Just import pdb and sent a breakpoint where/when you think memory has
"leaked" to the point that it's a problem,
then As Jason mentioned, poke around with the gc module or other tools
>> 3. Can I sort of "break" into the memory to see what objects consume how much memory?
> There is always this trick... Just start an imbedded I Python shell from some handler
> from IPython.Shell import IPShellEmbed; IPShellEmbed()()
> Then just poke around with the gc module
More information about the Baypiggies