예제 #1
0
def heapdo(line):
    if heapstats is None:
        raise PappyException('Command requires the guppy library')
    h = heapstats.heap()
    code.interact(local=locals())
예제 #2
0
def heapdo(line):
    if heapstats is None:
        raise PappyException('Command requires the guppy library')
    h = heapstats.heap()
    code.interact(local=locals())
예제 #3
0
def heap_info(line):
    size = heapstats.heap().size
    print 'Heap usage: {0:.2f} Mb'.format(size/(1024.0*1024.0))
    print heapstats.heap()
예제 #4
0
def heap_info(line):
    size = heapstats.heap().size
    print 'Heap usage: {0:.2f} Mb'.format(size / (1024.0 * 1024.0))
    print heapstats.heap()