Issue2450
Created on 2016-01-04.01:44:32 by darjus, last changed 2016-01-04.02:09:44 by darjus.
msg10583 (view) |
Author: Darjus Loktevic (darjus) |
Date: 2016-01-04.01:44:31 |
|
https://pythonhosted.org/Pympler/muppy.html
|
msg10584 (view) |
Author: Darjus Loktevic (darjus) |
Date: 2016-01-04.02:09:12 |
|
Committed: https://github.com/jythontools/jython/commit/a74bfd44e69b6b35119d05e3a6fb4bcfe3c397bb
Example:
>>> import gc
>>> gc.setMonitorGlobal(True)
>>> from pympler import muppy
>>> from pympler import summary
>>> sum1 = summary.summarize(muppy.get_objects())
>>> summary.print_(sum1)
types | # objects | total size
=================================== | =========== | ============
<class '_socket._PollNotification | 9912 | 387.19 KB
str | 10283 | 241.01 KB
tablecode | 2732 | 213.44 KB
reflectedfunction | 2387 | 93.24 KB
long | 1794 | 70.08 KB
list | 1985 | 62.03 KB
dict | 1699 | 39.82 KB
type | 381 | 29.77 KB
java.lang.Class | 286 | 22.34 KB
beanproperty | 393 | 15.35 KB
builtin_function_or_method | 416 | 13.46 KB
tuple | 412 | 12.88 KB
reflectedconstructor | 281 | 10.98 KB
function (__init__) | 181 | 9.90 KB
method_descriptor | 250 | 9.77 KB
|
|
Date |
User |
Action |
Args |
2016-01-04 02:09:44 | darjus | set | status: open -> closed |
2016-01-04 02:09:13 | darjus | set | messages:
+ msg10584 |
2016-01-04 01:44:32 | darjus | create | |
|