Ticket #1890 (assigned enhancement)

Opened 2 years ago

Last modified 3 months ago

debug Buildbot's memory use

Reported by: dustin Owned by: dustin
Priority: major Milestone: 0.9.+
Version: master Keywords: performance
Cc:

Description

I learned about a few tools at PyCon? that may be useful for this purpose. First, we should document these tools in the developer documentation so that others can work with them, too. Second, we should apply them in development to see if there are any low-hanging fruit in terms of memory consumption.

  • sys.getsizeof (2.6 only)
  • Meliae - dumps a reference graph in JSON
  • gdb-heap - dumps the Python heap in GDB (mostly totals)

Change History

comment:1 Changed 2 years ago by catlee

asizeof is also handy

comment:2 Changed 15 months ago by dustin

  • Keywords performance added; docs removed

I learned about socketconsole at this year's PyCon?, which gives you an external way to look at what each thread is doing at a given time.

comment:3 Changed 3 months ago by dustin

  • Owner set to dustin
  • Status changed from new to assigned
  • Milestone changed from 0.8.+ to 0.9.+

Worth revisiting once nine is stable.

Note: See TracTickets for help on using tickets.