Hi, all.

I use guppy-pe to identify this issue in my program. The resources links are 
all embedded in source code already.

I developed a test case for your convenience and attached the log. Any gurus 
help out here? It's really python internal stuff which I can't easily peek into.

Thanks,
Benjamin

Attachment: test_tuple_and_dict.py
Description: Binary data

>>>>>>>>>>>>>>>>>>>>>>>>>TEST4
{'a': 'a_value', 'b': 'b_value'}
Partition of a set of 5 objects. Total size = 1064 bytes.
 Index  Count   %     Size   % Cumulative  % Kind (class / dict of class)
     0      2  40      864  81       864  81 types.FrameType
     1      1  20      136  13      1000  94 dict (no owner)
     2      1  20       32   3      1032  97 list
     3      1  20       32   3      1064 100 str
=============0=============
--------------------------------
Set of 2 <types.FrameType> objects. Total size = 864 bytes.
 Index     Size   %   Cumulative  %   Name at Address
     0      448  51.9       448  51.9 <heap at 0x822c2fc>
     1      416  48.1       864 100.0 <profileHeap at 0x824ddd4>
--------------0------------------
<frame object at 0x822c2fc>
=============1=============
--------------------------------
Set of 1 <dict (no owner)> object. Total size = 136 bytes.
 Index     Size   %   Cumulative  %   Address*Length
     0      136 100.0       136 100.0 0x828b68c*1
--------------0------------------
{'Py_Repr': [{...}, [...]]}
=============2=============
--------------------------------
Set of 1 <list> object. Total size = 32 bytes.
 Index     Size   %   Cumulative  %   Address*Length
     0       32 100.0        32 100.0 0x826b58c*0
--------------0------------------
[[...]]
=============3=============
--------------------------------
Set of 1 <str> object. Total size = 32 bytes.
 Index     Size   %   Cumulative  %   Representation (limited)
     0       32 100.0        32 100.0 'Py_Repr'
--------------0------------------
Py_Repr
>>>>>>>>>>>>>>>>>>>>>>>>>TEST5
a a_value
b b_value
Partition of a set of 2 objects. Total size = 736 bytes.
 Index  Count   %     Size   % Cumulative  % Kind (class / dict of class)
     0      2 100      736 100       736 100 types.FrameType
=============0=============
--------------------------------
Set of 2 <types.FrameType> objects. Total size = 736 bytes.
 Index     Size   %   Cumulative  %   Name at Address
     0      372  50.5       372  50.5 <profileHeap at 0x824fc94>
     1      364  49.5       736 100.0 <heap at 0x82edc04>
--------------0------------------
<frame object at 0x824fc94>
>>>>>>>>>>>>>>>>>>>>>>>>>TEST6
Partition of a set of 2 objects. Total size = 864 bytes.
 Index  Count   %     Size   % Cumulative  % Kind (class / dict of class)
     0      2 100      864 100       864 100 types.FrameType
=============0=============
--------------------------------
Set of 2 <types.FrameType> objects. Total size = 864 bytes.
 Index     Size   %   Cumulative  %   Name at Address
     0      448  51.9       448  51.9 <heap at 0x822c2fc>
     1      416  48.1       864 100.0 <profileHeap at 0x824ddd4>
--------------0------------------
<frame object at 0x822c2fc>
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to