David's wiki | Nmap / Memory (original) (raw)
Memory archive 1 through 19 Dec 2009
#a-20100827
27 August 2010 r20013
Baseline measurement.
Startup
hp.heap() Partition of a set of 82941 objects. Total size = 10650088 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 39046 47 3167064 30 3167064 30 str 1 17135 21 1468528 14 4635592 44 tuple 2 236 0 774944 7 5410536 51 dict of module 3 642 1 675504 6 6086040 57 dict of type 4 614 1 587408 6 6673448 63 dict (no owner) 5 643 1 560992 5 7234440 68 type 6 4499 5 539880 5 7774320 73 types.CodeType 7 4405 5 528600 5 8302920 78 function 8 335 0 459752 4 8762672 82 dict of gobject.GObjectMeta 9 335 0 288016 3 9050688 85 gobject.GObjectMeta <475 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 246 0 280080 3 9330768 88 dict of class 11 3653 4 263016 2 9593784 90 builtin.method_descriptor 12 1415 2 124520 1 9718304 91 builtin.weakref 13 1407 2 112560 1 9830864 92 builtin.wrapper_descriptor 14 492 1 83232 1 9914096 93 list 15 1129 1 81288 1 9995384 94 types.BuiltinFunctionType 16 109 0 69688 1 10065072 94 dict of guppy.etc.Glue.Interface 17 851 1 61272 1 10126344 95 types.GetSetDescriptorType 18 652 1 46944 0 10173288 96 builtin.classmethod_descriptor 19 25 0 26200 0 10199488 96 dict of guppy.etc.Glue.Share <465 more rows. Type e.g. '_.more' to view.>
After loading localhost.xml
hp.heap() Partition of a set of 83900 objects. Total size = 10817064 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 39368 47 3191048 30 3191048 30 str 1 17269 21 1479720 14 4670768 43 tuple 2 242 0 785840 7 5456608 50 dict of module 3 643 1 675784 6 6132392 57 dict of type 4 669 1 618936 6 6751328 62 dict (no owner) 5 645 1 562720 5 7314048 68 type 6 4535 5 544200 5 7858248 73 types.CodeType 7 4441 5 532920 5 8391168 78 function 8 335 0 459752 4 8850920 82 dict of gobject.GObjectMeta 9 335 0 288016 3 9138936 84 gobject.GObjectMeta <499 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 248 0 284480 3 9423416 87 dict of class 11 3653 4 263016 2 9686432 90 builtin.method_descriptor 12 1426 2 125488 1 9811920 91 builtin.weakref 13 1407 2 112560 1 9924480 92 builtin.wrapper_descriptor 14 525 1 87976 1 10012456 93 list 15 1131 1 81432 1 10093888 93 types.BuiltinFunctionType 16 109 0 69688 1 10163576 94 dict of guppy.etc.Glue.Interface 17 852 1 61344 1 10224920 95 types.GetSetDescriptorType 18 191 0 53480 0 10278400 95 dict of zenmapCore.NmapOptions.option 19 652 1 46944 0 10325344 95 builtin.classmethod_descriptor <489 more rows. Type e.g. '_.more' to view.>
After loading scanme-50.xml
hp.heap() Partition of a set of 92172 objects. Total size = 13365472 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 39369 43 3191112 24 3191112 24 str 1 3872 4 2660864 20 5851976 44 dict (no owner) 2 17367 19 1486776 11 7338752 55 tuple 3 242 0 785840 6 8124592 61 dict of module 4 643 1 675784 5 8800376 66 dict of type 5 645 1 562720 4 9363096 70 type 6 4535 5 544200 4 9907296 74 types.CodeType 7 4441 5 532920 4 10440216 78 function 8 335 0 459752 3 10899968 82 dict of gobject.GObjectMeta 9 335 0 288016 2 11187984 84 gobject.GObjectMeta <498 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 248 0 284480 2 11472464 86 dict of class 11 3392 4 268744 2 11741208 88 unicode 12 3653 4 263016 2 12004224 90 builtin.method_descriptor 13 1361 1 181768 1 12185992 91 list 14 1423 2 125224 1 12311216 92 builtin.weakref 15 1407 2 112560 1 12423776 93 builtin.wrapper_descriptor 16 100 0 104800 1 12528576 94 dict of zenmapCore.NmapParser.HostInfo 17 1131 1 81432 1 12610008 94 types.BuiltinFunctionType 18 109 0 69688 1 12679696 95 dict of guppy.etc.Glue.Interface 19 852 1 61344 0 12741040 95 types.GetSetDescriptorType <488 more rows. Type e.g. '_.more' to view.>
After loading scanme-500.xml
hp.heap() Partition of a set of 168118 objects. Total size = 36661568 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 33122 20 21311024 58 21311024 58 dict (no owner) 1 39368 23 3191056 9 24502080 67 str 2 33094 20 2425376 7 26927456 73 unicode 3 18267 11 1551576 4 28479032 78 tuple 4 1000 1 1048000 3 29527032 81 dict of zenmapCore.NmapParser.HostInfo
5 9011 5 1039000 3 30566032 83 list 6 242 0 785840 2 31351872 86 dict of module 7 643 0 675784 2 32027656 87 dict of type 8 645 0 562720 2 32590376 89 type 9 4535 3 544200 1 33134576 90 types.CodeType <499 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 4441 3 532920 1 33667496 92 function 11 335 0 459752 1 34127248 93 dict of gobject.GObjectMeta 12 335 0 288016 1 34415264 94 gobject.GObjectMeta 13 248 0 284480 1 34699744 95 dict of class 14 3653 2 263016 1 34962760 95 builtin.method_descriptor 15 502 0 140560 0 35103320 96 dict of radialnet.core.Coordinate.PolarCoordinate 16 501 0 140280 0 35243600 96 dict of radialnet.gui.RadialNet.NetNode 17 500 0 140000 0 35383600 97 dict of radialnet.core.Graph.Edge 18 1426 1 125488 0 35509088 97 builtin.weakref 19 1407 1 112560 0 35621648 97 builtin.wrapper_descriptor <489 more rows. Type e.g. '_.more' to view.>
Memory use per host, raw
1 | 10817064 |
---|---|
50 | 267309 |
500 | 73323 |
Memory use per host, relative to baseline
1 | 166976 |
---|---|
50 | 54308 |
500 | 52022 |
#a-20100828
28 August 2010 r20020
Removed topology page.
Startup
hp.heap() Partition of a set of 77658 objects. Total size = 9997616 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 36419 47 2947936 29 2947936 29 str 1 15789 20 1344592 13 4292528 43 tuple 2 206 0 721232 7 5013760 50 dict of module 3 640 1 673024 7 5686784 57 dict of type 4 641 1 559232 6 6246016 62 type 5 607 1 547816 5 6793832 68 dict (no owner) 6 4137 5 496440 5 7290272 73 types.CodeType 7 4023 5 482760 5 7773032 78 function 8 296 0 432320 4 8205352 82 dict of gobject.GObjectMeta 9 234 0 269808 3 8475160 85 dict of class <422 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 3653 5 263016 3 8738176 87 builtin.method_descriptor 11 296 0 253696 3 8991872 90 gobject.GObjectMeta 12 1333 2 117304 1 9109176 91 builtin.weakref 13 1407 2 112560 1 9221736 92 builtin.wrapper_descriptor 14 1129 1 81288 1 9303024 93 types.BuiltinFunctionType 15 462 1 78704 1 9381728 94 list 16 109 0 69688 1 9451416 95 dict of guppy.etc.Glue.Interface 17 849 1 61128 1 9512544 95 types.GetSetDescriptorType 18 652 1 46944 0 9559488 96 builtin.classmethod_descriptor 19 25 0 26200 0 9585688 96 dict of guppy.etc.Glue.Share <412 more rows. Type e.g. '_.more' to view.>
After loading localhost.xml
hp.heap() Partition of a set of 78556 objects. Total size = 10149136 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 36742 47 2971976 29 2971976 29 str 1 15921 20 1355640 13 4327616 43 tuple 2 212 0 732128 7 5059744 50 dict of module 3 641 1 673304 7 5733048 56 dict of type 4 642 1 568368 6 6301416 62 dict (no owner) 5 643 1 560960 6 6862376 68 type 6 4173 5 500760 5 7363136 73 types.CodeType 7 4059 5 487080 5 7850216 77 function 8 296 0 432320 4 8282536 82 dict of gobject.GObjectMeta 9 236 0 274208 3 8556744 84 dict of class <439 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 3653 5 263016 3 8819760 87 builtin.method_descriptor 11 296 0 253696 2 9073456 89 gobject.GObjectMeta 12 1339 2 117832 1 9191288 91 builtin.weakref 13 1407 2 112560 1 9303848 92 builtin.wrapper_descriptor 14 484 1 82272 1 9386120 92 list 15 1131 1 81432 1 9467552 93 types.BuiltinFunctionType 16 109 0 69688 1 9537240 94 dict of guppy.etc.Glue.Interface 17 850 1 61200 1 9598440 95 types.GetSetDescriptorType 18 191 0 53480 1 9651920 95 dict of zenmapCore.NmapOptions.option
19 652 1 46944 0 9698864 96 builtin.classmethod_descriptor <429 more rows. Type e.g. '_.more' to view.>
After loading scanme-50.xml
hp.heap() Partition of a set of 84325 objects. Total size = 11873568 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 36742 44 2971984 25 2971984 25 str 1 2513 3 1896344 16 4868328 41 dict (no owner) 2 15921 19 1355640 11 6223968 52 tuple 3 212 0 732128 6 6956096 59 dict of module 4 641 1 673304 6 7629400 64 dict of type 5 643 1 560960 5 8190360 69 type 6 4173 5 500760 4 8691120 73 types.CodeType 7 4059 5 487080 4 9178200 77 function 8 296 0 432320 4 9610520 81 dict of gobject.GObjectMeta 9 236 0 274208 2 9884728 83 dict of class <439 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 3389 4 268320 2 10153048 85 unicode 11 3653 4 263016 2 10416064 88 builtin.method_descriptor 12 296 0 253696 2 10669760 90 gobject.GObjectMeta 13 928 1 133184 1 10802944 91 list 14 1339 2 117832 1 10920776 92 builtin.weakref 15 1407 2 112560 1 11033336 93 builtin.wrapper_descriptor 16 100 0 104800 1 11138136 94 dict of zenmapCore.NmapParser.HostInfo 17 1131 1 81432 1 11219568 94 types.BuiltinFunctionType 18 109 0 69688 1 11289256 95 dict of guppy.etc.Glue.Interface 19 850 1 61200 1 11350456 96 types.GetSetDescriptorType <429 more rows. Type e.g. '_.more' to view.>
After loading scanme-500.xml
hp.heap() Partition of a set of 136975 objects. Total size = 27633152 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 19613 14 14034104 51 14034104 51 dict (no owner) 1 36742 27 2971984 11 17006088 62 str 2 33089 24 2424560 9 19430648 70 unicode 3 15921 12 1355640 5 20786288 75 tuple 4 1000 1 1048000 4 21834288 79 dict of zenmapCore.NmapParser.HostInfo 5 212 0 732128 3 22566416 82 dict of module 6 641 0 673304 2 23239720 84 dict of type 7 4978 4 597968 2 23837688 86 list 8 643 0 560960 2 24398648 88 type 9 4173 3 500760 2 24899408 90 types.CodeType <439 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 4059 3 487080 2 25386488 92 function 11 296 0 432320 2 25818808 93 dict of gobject.GObjectMeta 12 236 0 274208 1 26093016 94 dict of class 13 3653 3 263016 1 26356032 95 builtin.method_descriptor 14 296 0 253696 1 26609728 96 gobject.GObjectMeta 15 1339 1 117832 0 26727560 97 builtin.weakref 16 1407 1 112560 0 26840120 97 builtin.wrapper_descriptor 17 1131 1 81432 0 26921552 97 types.BuiltinFunctionType 18 109 0 69688 0 26991240 98 dict of guppy.etc.Glue.Interface 19 1000 1 64000 0 27055240 98 zenmapCore.NmapParser.HostInfo <429 more rows. Type e.g. '_.more' to view.>
Memory use per host, raw
1 | 10149136 | 94% |
---|---|---|
50 | 237471 | 89% |
500 | 55266 | 75% |
Memory use per host, relative to baseline
1 | 151520 | 91% |
---|---|---|
50 | 37519 | 69% |
500 | 35271 | 68% |
#a-20100901
1 September 2010 r20068
With a minimal HostInfo
.
Startup
hp.heap() Partition of a set of 83276 objects. Total size = 10678448 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 39170 47 3175736 30 3175736 30 str 1 17212 21 1474672 14 4650408 44 tuple 2 236 0 774944 7 5425352 51 dict of module 3 643 1 677320 6 6102672 57 dict of type 4 616 1 589504 6 6692176 63 dict (no owner) 5 644 1 561872 5 7254048 68 type 6 4526 5 543120 5 7797168 73 types.CodeType 7 4432 5 531840 5 8329008 78 function 8 335 0 459752 4 8788760 82 dict of gobject.GObjectMeta 9 335 0 288016 3 9076776 85 gobject.GObjectMeta <476 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 246 0 280080 3 9356856 88 dict of class 11 3653 4 263016 2 9619872 90 builtin.method_descriptor 12 1417 2 124696 1 9744568 91 builtin.weakref 13 1407 2 112560 1 9857128 92 builtin.wrapper_descriptor 14 492 1 83360 1 9940488 93 list 15 1129 1 81288 1 10021776 94 types.BuiltinFunctionType 16 109 0 69688 1 10091464 94 dict of guppy.etc.Glue.Interface 17 853 1 61416 1 10152880 95 types.GetSetDescriptorType 18 652 1 46944 0 10199824 95 builtin.classmethod_descriptor 19 25 0 26200 0 10226024 96 dict of guppy.etc.Glue.Share <466 more rows. Type e.g. '_.more' to view.>
After loading localhost.xml
hp.heap() Partition of a set of 84171 objects. Total size = 10820824 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 39492 47 3199760 30 3199760 30 str 1 17346 21 1485864 14 4685624 43 tuple 2 242 0 785840 7 5471464 51 dict of module 3 644 1 677600 6 6149064 57 dict of type 4 634 1 601456 6 6750520 62 dict (no owner) 5 646 1 563600 5 7314120 68 type 6 4562 5 547440 5 7861560 73 types.CodeType 7 4468 5 536160 5 8397720 78 function 8 335 0 459752 4 8857472 82 dict of gobject.GObjectMeta 9 335 0 288016 3 9145488 85 gobject.GObjectMeta <498 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 248 0 284480 3 9429968 87 dict of class 11 3653 4 263016 2 9692984 90 builtin.method_descriptor 12 1425 2 125400 1 9818384 91 builtin.weakref 13 1407 2 112560 1 9930944 92 builtin.wrapper_descriptor 14 512 1 86720 1 10017664 93 list 15 1131 1 81432 1 10099096 93 types.BuiltinFunctionType 16 109 0 69688 1 10168784 94 dict of guppy.etc.Glue.Interface 17 854 1 61488 1 10230272 95 types.GetSetDescriptorType 18 191 0 53480 0 10283752 95 dict of zenmapCore.NmapOptions.option 19 652 1 46944 0 10330696 95 builtin.classmethod_descriptor
After loading scanme-50.xml
hp.heap() Partition of a set of 84499 objects. Total size = 10856224 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 39735 47 3220320 30 3220320 30 str 1 17348 21 1486016 14 4706336 43 tuple 2 242 0 785840 7 5492176 51 dict of module 3 644 1 677600 6 6169776 57 dict of type 4 637 1 604600 6 6774376 62 dict (no owner) 5 646 1 563600 5 7337976 68 type 6 4562 5 547440 5 7885416 73 types.CodeType 7 4468 5 536160 5 8421576 78 function 8 335 0 459752 4 8881328 82 dict of gobject.GObjectMeta 9 335 0 288016 3 9169344 84 gobject.GObjectMeta <499 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 248 0 284480 3 9453824 87 dict of class 11 3653 4 263016 2 9716840 90 builtin.method_descriptor 12 1425 2 125400 1 9842240 91 builtin.weakref 13 1407 2 112560 1 9954800 92 builtin.wrapper_descriptor 14 513 1 89736 1 10044536 93 list 15 1131 1 81432 1 10125968 93 types.BuiltinFunctionType 16 110 0 70736 1 10196704 94 dict of guppy.etc.Glue.Interface 17 854 1 61488 1 10258192 94 types.GetSetDescriptorType 18 191 0 53480 0 10311672 95 dict of zenmapCore.NmapOptions.option 19 652 1 46944 0 10358616 95 builtin.classmethod_descriptor <489 more rows. Type e.g. '_.more' to view.>
After loading scanme-500.xml
hp.heap() Partition of a set of 84697 objects. Total size = 10861712 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 39492 47 3199760 29 3199760 29 str 1 17346 20 1485864 14 4685624 43 tuple 2 242 0 785840 7 5471464 50 dict of module 3 644 1 677600 6 6149064 57 dict of type 4 637 1 604600 6 6753664 62 dict (no owner) 5 646 1 563600 5 7317264 67 type 6 4562 5 547440 5 7864704 72 types.CodeType 7 4468 5 536160 5 8400864 77 function 8 335 0 459752 4 8860616 82 dict of gobject.GObjectMeta 9 335 0 288016 3 9148632 84 gobject.GObjectMeta <498 more rows. Type e.g. '_.more' to view.> _.more Index Count % Size % Cumulative % Kind (class / dict of class) 10 248 0 284480 3 9433112 87 dict of class 11 3653 4 263016 2 9696128 89 builtin.method_descriptor 12 1425 2 125400 1 9821528 90 builtin.weakref 13 1407 2 112560 1 9934088 91 builtin.wrapper_descriptor 14 512 1 90752 1 10024840 92 list 15 1131 1 81432 1 10106272 93 types.BuiltinFunctionType 16 109 0 69688 1 10175960 94 dict of guppy.etc.Glue.Interface 17 854 1 61488 1 10237448 94 types.GetSetDescriptorType 18 191 0 53480 0 10290928 95 dict of zenmapCore.NmapOptions.option 19 652 1 46944 0 10337872 95 builtin.classmethod_descriptor <488 more rows. Type e.g. '_.more' to view.>
Memory use per host, raw
1 | 10820824 | 100% |
---|---|---|
50 | 217124 | 81% |
500 | 21723 | 30% |
Memory use per host, relative to baseline
1 | 142376 | 85% |
---|---|---|
50 | 3556 | 6.5% |
500 | 367 | 0.7% |