Comment 2 for bug 551391

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 551391] [NEW] on MemoryError, log/report memory usage by type

On 31 March 2010 04:17, John A Meinel <email address hidden> wrote:
> try:
>  from meliae import scanner
> except:
>  return
> scanner.dump_all_objects('bzr_memory_reference_dump.json')

I wonder if loading and running meliae will be possible if we're
already out of memory, but it's probably worth a try.

--
Martin <http://launchpad.net/~mbp/>