Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save papandreou/5db6e17c86390eef98333f8cba7925de to your computer and use it in GitHub Desktop.
Save papandreou/5db6e17c86390eef98333f8cba7925de to your computer and use it in GitHub Desktop.
[sharp-mem-usage]$ node --trace-gc test.js & while true; do smem |grep -P 'PID|node' ; done
[1] 6993
[6993] 52 ms: Scavenge 2.0 (34.0) -> 1.7 (36.0) MB, 0 ms [allocation failure].
[6993] 64 ms: Scavenge 2.6 (37.0) -> 2.2 (37.0) MB, 0 ms [Runtime::PerformGC].
[6993] 78 ms: Scavenge 3.1 (38.0) -> 2.6 (38.0) MB, 0 ms [Runtime::PerformGC].
[6993] 107 ms: Scavenge 4.9 (38.0) -> 3.6 (38.0) MB, 0 ms [allocation failure].
example before iteration #1 { rss: 30470144, heapTotal: 10324992, heapUsed: 4537384 }
interpolateWith: Please use resize(w, h, { interpolator: ... }) instead
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 617176 617220 620712
example before iteration #2 { rss: 37601280, heapTotal: 10324992, heapUsed: 4738960 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 400596 400640 404132
example before iteration #3 { rss: 41504768, heapTotal: 10324992, heapUsed: 4788512 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 154016 154060 157552
example before iteration #4 { rss: 54833152, heapTotal: 10324992, heapUsed: 4806368 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 627024 627068 630560
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 639656 639700 643192
example before iteration #5 { rss: 63557632, heapTotal: 10324992, heapUsed: 4823976 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 630172 630216 633708
example before iteration #6 { rss: 70361088, heapTotal: 10324992, heapUsed: 4843808 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 344584 344628 348120
example before iteration #7 { rss: 78786560, heapTotal: 10324992, heapUsed: 4861416 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 77288 77332 80824
example before iteration #8 { rss: 82653184, heapTotal: 10324992, heapUsed: 4878872 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 663324 663368 666860
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 667000 667044 670536
example before iteration #9 { rss: 86446080, heapTotal: 10324992, heapUsed: 4896320 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 580284 580328 583820
example before iteration #10 { rss: 90226688, heapTotal: 10324992, heapUsed: 4913704 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 299632 299676 303168
example before iteration #11 { rss: 88911872, heapTotal: 10324992, heapUsed: 4931120 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 674284 674328 677820
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 673204 673248 676740
example before iteration #12 { rss: 97624064, heapTotal: 10324992, heapUsed: 4948504 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 681616 681660 685152
example before iteration #13 { rss: 101724160, heapTotal: 10324992, heapUsed: 4965888 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 514404 514448 517940
example before iteration #14 { rss: 100749312, heapTotal: 10324992, heapUsed: 4988984 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 243284 243328 246820
example before iteration #15 { rss: 112713728, heapTotal: 10324992, heapUsed: 5006408 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 684536 684580 688072
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 696456 696500 699992
example before iteration #16 { rss: 116867072, heapTotal: 10324992, heapUsed: 5023832 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 700396 700440 703932
example before iteration #17 { rss: 120340480, heapTotal: 10324992, heapUsed: 5041224 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 474912 474956 478448
example before iteration #18 { rss: 114651136, heapTotal: 10324992, heapUsed: 5060616 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 182536 182580 186072
example before iteration #19 { rss: 123027456, heapTotal: 10324992, heapUsed: 5078040 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 698140 698184 701676
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 706472 706516 710008
example before iteration #20 { rss: 122314752, heapTotal: 10324992, heapUsed: 5095464 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 662148 662192 665684
example before iteration #21 { rss: 134639616, heapTotal: 10324992, heapUsed: 5112888 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 379540 379584 383076
example before iteration #22 { rss: 137932800, heapTotal: 10324992, heapUsed: 5130312 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 131528 131572 135064
example before iteration #23 { rss: 137154560, heapTotal: 10324992, heapUsed: 5149264 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 721016 721060 724552
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 720264 720308 723800
example before iteration #24 { rss: 145858560, heapTotal: 10324992, heapUsed: 5166688 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 592316 592360 595852
example before iteration #25 { rss: 149155840, heapTotal: 10324992, heapUsed: 5184112 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 283708 283752 287244
example before iteration #26 { rss: 153006080, heapTotal: 10324992, heapUsed: 5201504 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 731964 732008 735500
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 735604 735648 739140
example before iteration #27 { rss: 152023040, heapTotal: 10324992, heapUsed: 5220664 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 734796 734840 738332
example before iteration #28 { rss: 160444416, heapTotal: 10324992, heapUsed: 5239824 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 480096 480140 483632
example before iteration #29 { rss: 164294656, heapTotal: 10324992, heapUsed: 5263648 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 196116 196160 199652
example before iteration #30 { rss: 167911424, heapTotal: 10324992, heapUsed: 5281072 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 746560 746604 750096
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 750236 750280 753772
example before iteration #31 { rss: 167198720, heapTotal: 10324992, heapUsed: 5298464 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 656040 656084 659576
example before iteration #32 { rss: 175362048, heapTotal: 10324992, heapUsed: 5315856 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 341852 341896 345388
[6993] 38113 ms: Mark-sweep 5.1 (39.0) -> 3.9 (39.0) MB, 4 ms [allocation failure] [GC in old space requested].
example before iteration #33 { rss: 174657536, heapTotal: 10324992, heapUsed: 5335280 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 757552 757596 761088
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 737744 737788 741280
example before iteration #34 { rss: 167440384, heapTotal: 10324992, heapUsed: 4104680 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 746040 746084 749576
example before iteration #35 { rss: 162869248, heapTotal: 10324992, heapUsed: 4133824 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 484068 484112 487604
example before iteration #36 { rss: 166760448, heapTotal: 10324992, heapUsed: 4151248 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 217640 217684 221176
example before iteration #37 { rss: 166760448, heapTotal: 10324992, heapUsed: 4168672 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 745360 745404 748896
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 745364 745408 748900
example before iteration #38 { rss: 166846464, heapTotal: 10324992, heapUsed: 4186056 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 675164 675208 678700
[6993] 45250 ms: Mark-sweep 4.0 (39.0) -> 3.8 (39.0) MB, 3 / 6 ms [allocation failure] [GC in old space requested].
example before iteration #39 { rss: 166862848, heapTotal: 10324992, heapUsed: 4203480 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 289352 289396 292888
example before iteration #40 { rss: 72282112, heapTotal: 11344896, heapUsed: 4051080 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 649012 649056 652548
example before iteration #41 { rss: 72560640, heapTotal: 11344896, heapUsed: 4071432 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 653188 653232 656724
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 653408 653452 656944
example before iteration #42 { rss: 76161024, heapTotal: 11344896, heapUsed: 4088848 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 528640 528684 532176
example before iteration #43 { rss: 76161024, heapTotal: 11344896, heapUsed: 4114656 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 259392 259436 262928
example before iteration #44 { rss: 71667712, heapTotal: 11344896, heapUsed: 4132040 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 657776 657820 661312
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 655984 656028 659520
example before iteration #45 { rss: 79679488, heapTotal: 11344896, heapUsed: 4169392 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 664056 664100 667592
example before iteration #46 { rss: 83759104, heapTotal: 11344896, heapUsed: 4188416 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 496840 496884 500376
example before iteration #47 { rss: 86929408, heapTotal: 11344896, heapUsed: 4205832 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 228912 228956 232448
example before iteration #48 { rss: 86208512, heapTotal: 11344896, heapUsed: 4223248 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 671212 671256 674748
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 670396 670440 673932
example before iteration #49 { rss: 94494720, heapTotal: 11344896, heapUsed: 4240664 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 678404 678448 681940
example before iteration #50 { rss: 98037760, heapTotal: 11344896, heapUsed: 4258080 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 427932 427976 431468
example before iteration #51 { rss: 100937728, heapTotal: 11344896, heapUsed: 4277240 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 183584 183628 187120
example before iteration #52 { rss: 109355008, heapTotal: 11344896, heapUsed: 4294664 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 684828 684872 688364
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 692936 692980 696472
example before iteration #53 { rss: 108228608, heapTotal: 11344896, heapUsed: 4312088 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 672992 673036 676528
example before iteration #54 { rss: 112013312, heapTotal: 11344896, heapUsed: 4329512 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 390412 390456 393948
example before iteration #55 { rss: 115802112, heapTotal: 11344896, heapUsed: 4346936 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 131324 131368 134860
example before iteration #56 { rss: 119652352, heapTotal: 11344896, heapUsed: 4364360 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 699284 699328 702820
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 702928 702972 706464
example before iteration #57 { rss: 131416064, heapTotal: 11344896, heapUsed: 4381784 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 646488 646532 650024
example before iteration #58 { rss: 130629632, heapTotal: 11344896, heapUsed: 4399208 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 349600 349644 353136
example before iteration #59 { rss: 139337728, heapTotal: 11344896, heapUsed: 4416632 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 132596 132640 136132
example before iteration #60 { rss: 138067968, heapTotal: 11344896, heapUsed: 4434056 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 722148 722192 725684
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 721040 721084 724576
example before iteration #61 { rss: 141852672, heapTotal: 11344896, heapUsed: 4451480 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 572612 575968 582772
example before iteration #62 { rss: 149991424, heapTotal: 11344896, heapUsed: 4468904 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 296860 296904 300396
example before iteration #63 { rss: 154079232, heapTotal: 11344896, heapUsed: 4486328 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 732896 732940 736432
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 736668 736712 740204
example before iteration #64 { rss: 152997888, heapTotal: 11344896, heapUsed: 4503752 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 735576 735620 739112
example before iteration #65 { rss: 156577792, heapTotal: 11344896, heapUsed: 4524304 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 533164 533208 536700
example before iteration #66 { rss: 165216256, heapTotal: 11344896, heapUsed: 4541728 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 274616 274660 278152
example before iteration #67 { rss: 164208640, heapTotal: 11344896, heapUsed: 4595192 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 747624 747668 751160
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 746456 746500 749992
example before iteration #68 { rss: 167788544, heapTotal: 11344896, heapUsed: 4614432 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 750144 750188 753680
example before iteration #69 { rss: 176508928, heapTotal: 11344896, heapUsed: 4631856 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 481108 481152 484644
example before iteration #70 { rss: 180088832, heapTotal: 11344896, heapUsed: 4649280 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 209336 209380 212872
example before iteration #71 { rss: 183951360, heapTotal: 11344896, heapUsed: 4666704 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 762096 762140 765632
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 765740 765784 769276
example before iteration #72 { rss: 187236352, heapTotal: 11344896, heapUsed: 4693728 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 706800 706844 710336
example before iteration #73 { rss: 191082496, heapTotal: 11344896, heapUsed: 4711152 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 424204 424248 427740
example before iteration #74 { rss: 194674688, heapTotal: 11344896, heapUsed: 4730576 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 186796 186840 190332
example before iteration #75 { rss: 198512640, heapTotal: 11344896, heapUsed: 4748000 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 776336 776380 779872
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 779956 780000 783492
example before iteration #76 { rss: 202092544, heapTotal: 11344896, heapUsed: 4767424 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 645356 645400 648892
example before iteration #77 { rss: 201383936, heapTotal: 11344896, heapUsed: 4784848 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 369440 369484 372976
example before iteration #78 { rss: 209825792, heapTotal: 11344896, heapUsed: 4804008 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 783904 783948 787440
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 791136 791180 794672
example before iteration #79 { rss: 208822272, heapTotal: 11344896, heapUsed: 4821432 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 790084 790128 793620
example before iteration #80 { rss: 217264128, heapTotal: 11344896, heapUsed: 4838856 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 615420 615464 618956
example before iteration #81 { rss: 216260608, heapTotal: 11344896, heapUsed: 4856280 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 349028 349072 352564
example before iteration #82 { rss: 224411648, heapTotal: 11344896, heapUsed: 4873704 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 797284 797328 800820
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 805376 805420 808912
example before iteration #83 { rss: 228257792, heapTotal: 11344896, heapUsed: 4891128 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 809004 809048 812540
example before iteration #84 { rss: 231849984, heapTotal: 11344896, heapUsed: 4908552 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 657172 657216 660708
example before iteration #85 { rss: 235687936, heapTotal: 11344896, heapUsed: 4925976 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 353600 353644 357136
example before iteration #86 { rss: 239267840, heapTotal: 11344896, heapUsed: 4943400 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 816260 816304 819796
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 819888 819932 823424
example before iteration #87 { rss: 243146752, heapTotal: 11344896, heapUsed: 4960824 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 823544 823588 827080
example before iteration #88 { rss: 242176000, heapTotal: 11344896, heapUsed: 4978248 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 533500 533544 537036
example before iteration #89 { rss: 246030336, heapTotal: 11344896, heapUsed: 4997848 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 265732 265776 269268
example before iteration #90 { rss: 254177280, heapTotal: 11344896, heapUsed: 5015272 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 826360 826404 829896
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 834444 834488 837980
example before iteration #91 { rss: 258019328, heapTotal: 11344896, heapUsed: 5032696 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 782280 782324 785816
example before iteration #92 { rss: 261894144, heapTotal: 11344896, heapUsed: 5050120 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 525020 525064 528556
example before iteration #93 { rss: 265457664, heapTotal: 11344896, heapUsed: 5067544 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 264380 264424 267916
example before iteration #94 { rss: 269029376, heapTotal: 11344896, heapUsed: 5084968 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 845320 845364 848856
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 848948 848992 852484
example before iteration #95 { rss: 272826368, heapTotal: 11344896, heapUsed: 5102392 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 764500 764544 768036
example before iteration #96 { rss: 276402176, heapTotal: 11344896, heapUsed: 5119816 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 492044 492088 495580
example before iteration #97 { rss: 275689472, heapTotal: 11344896, heapUsed: 5137240 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 274748 274792 278284
example before iteration #98 { rss: 283840512, heapTotal: 11344896, heapUsed: 5154752 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 855384 855428 858920
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 863476 863520 867012
example before iteration #99 { rss: 287756288, heapTotal: 11344896, heapUsed: 5172176 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 753512 753556 757048
example before iteration #100 { rss: 291610624, heapTotal: 11344896, heapUsed: 5234072 }
PID User Command Swap USS PSS RSS
6993 andreas node --trace-gc test.js 0 476560 476604 480096
[6993] 118989 ms: Mark-sweep 5.1 (40.0) -> 3.9 (40.0) MB, 4 ms [HeapSnapshotGenerator::GenerateSnapshot] [GC in old space requested].
[6993] 118992 ms: Mark-sweep 3.9 (40.0) -> 3.9 (40.0) MB, 3 ms [HeapSnapshotGenerator::GenerateSnapshot] [GC in old space requested].
PID User Command Swap USS PSS RSS
[1]+ Done node --trace-gc test.js
PID User Command Swap USS PSS RSS
PID User Command Swap USS PSS RSS
PID User Command Swap USS PSS RSS
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment