Skip to content

Instantly share code, notes, and snippets.

@papandreou
Last active May 23, 2016 16:49
Show Gist options
  • Save papandreou/18eb731ea156d7b73930423e10a19bdc to your computer and use it in GitHub Desktop.
Save papandreou/18eb731ea156d7b73930423e10a19bdc to your computer and use it in GitHub Desktop.
papandreou/sharp-mem-usage#5c9736924 (stream-based input)
[20376] 25 ms: Scavenge 2.0 (34.0) -> 1.7 (36.0) MB, 0 ms [allocation failure].
[20376] 33 ms: Scavenge 2.6 (37.0) -> 2.2 (37.0) MB, 0 ms [Runtime::PerformGC].
[20376] 42 ms: Scavenge 3.1 (38.0) -> 2.6 (38.0) MB, 0 ms [allocation failure].
[20376] 63 ms: Scavenge 4.9 (38.0) -> 3.6 (38.0) MB, 0 ms [allocation failure].
example before iteration #1 { rss: 32428032, heapTotal: 10324992, heapUsed: 4781072 }
example before iteration #2 { rss: 143507456, heapTotal: 11344896, heapUsed: 5253888 }
example before iteration #3 { rss: 259825664, heapTotal: 11344896, heapUsed: 5508976 }
[20376] 1679 ms: Mark-sweep 5.5 (40.0) -> 4.3 (40.0) MB, 3 / 7 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #4 { rss: 212398080, heapTotal: 11344896, heapUsed: 4582152 }
example before iteration #5 { rss: 221171712, heapTotal: 11344896, heapUsed: 4827872 }
[20376] 3219 ms: Mark-sweep 4.8 (40.0) -> 4.3 (40.0) MB, 4 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #6 { rss: 328908800, heapTotal: 11344896, heapUsed: 4491872 }
example before iteration #7 { rss: 329207808, heapTotal: 11344896, heapUsed: 4707360 }
example before iteration #8 { rss: 324313088, heapTotal: 11344896, heapUsed: 4917008 }
[20376] 5469 ms: Mark-sweep 4.8 (40.0) -> 4.3 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #9 { rss: 319791104, heapTotal: 11344896, heapUsed: 4580144 }
example before iteration #10 { rss: 315342848, heapTotal: 11344896, heapUsed: 4792040 }
[20376] 6971 ms: Mark-sweep 4.7 (40.0) -> 4.3 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #11 { rss: 327041024, heapTotal: 11344896, heapUsed: 4519480 }
example before iteration #12 { rss: 327122944, heapTotal: 11344896, heapUsed: 4736904 }
example before iteration #13 { rss: 322338816, heapTotal: 11344896, heapUsed: 4926312 }
[20376] 9229 ms: Mark-sweep 4.8 (40.0) -> 4.2 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #14 { rss: 329576448, heapTotal: 11344896, heapUsed: 4524176 }
example before iteration #15 { rss: 329773056, heapTotal: 11344896, heapUsed: 4734680 }
[20376] 10748 ms: Mark-sweep 4.7 (40.0) -> 3.6 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #16 { rss: 299868160, heapTotal: 11344896, heapUsed: 3869928 }
example before iteration #17 { rss: 299995136, heapTotal: 11344896, heapUsed: 4262864 }
example before iteration #18 { rss: 304803840, heapTotal: 11344896, heapUsed: 4485248 }
[20376] 13033 ms: Mark-sweep 4.4 (40.0) -> 3.8 (40.0) MB, 4 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #19 { rss: 331325440, heapTotal: 15539200, heapUsed: 4041136 }
example before iteration #20 { rss: 326762496, heapTotal: 15539200, heapUsed: 4250056 }
[20376] 14548 ms: Mark-sweep 4.2 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #21 { rss: 331423744, heapTotal: 15539200, heapUsed: 3982376 }
example before iteration #22 { rss: 331386880, heapTotal: 15539200, heapUsed: 4198160 }
example before iteration #23 { rss: 331563008, heapTotal: 15539200, heapUsed: 4388816 }
[20376] 16799 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #24 { rss: 327426048, heapTotal: 15539200, heapUsed: 4044024 }
example before iteration #25 { rss: 327397376, heapTotal: 15539200, heapUsed: 4252920 }
[20376] 18335 ms: Mark-sweep 4.2 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #26 { rss: 322428928, heapTotal: 15539200, heapUsed: 3982464 }
example before iteration #27 { rss: 322408448, heapTotal: 15539200, heapUsed: 4199808 }
example before iteration #28 { rss: 317644800, heapTotal: 15539200, heapUsed: 4389360 }
[20376] 20584 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 2 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #29 { rss: 327761920, heapTotal: 15539200, heapUsed: 4037936 }
example before iteration #30 { rss: 332820480, heapTotal: 15539200, heapUsed: 4247320 }
[20376] 22095 ms: Mark-sweep 4.2 (40.0) -> 3.6 (40.0) MB, 1 / 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #31 { rss: 306339840, heapTotal: 15539200, heapUsed: 3819328 }
example before iteration #32 { rss: 311263232, heapTotal: 15539200, heapUsed: 4208944 }
example before iteration #33 { rss: 306470912, heapTotal: 15539200, heapUsed: 4431144 }
[20376] 24379 ms: Mark-sweep 4.4 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #34 { rss: 331210752, heapTotal: 15539200, heapUsed: 4042464 }
example before iteration #35 { rss: 331243520, heapTotal: 15539200, heapUsed: 4253024 }
[20376] 25909 ms: Mark-sweep 4.2 (40.0) -> 3.8 (40.0) MB, 4 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #36 { rss: 326512640, heapTotal: 15539200, heapUsed: 3984096 }
example before iteration #37 { rss: 326615040, heapTotal: 15539200, heapUsed: 4201304 }
example before iteration #38 { rss: 331509760, heapTotal: 15539200, heapUsed: 4390576 }
[20376] 28182 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #39 { rss: 332177408, heapTotal: 15539200, heapUsed: 4043800 }
example before iteration #40 { rss: 327499776, heapTotal: 15539200, heapUsed: 4253352 }
[20376] 29712 ms: Mark-sweep 4.2 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #41 { rss: 317374464, heapTotal: 15539200, heapUsed: 3984408 }
example before iteration #42 { rss: 317440000, heapTotal: 15539200, heapUsed: 4201616 }
example before iteration #43 { rss: 322424832, heapTotal: 15539200, heapUsed: 4396792 }
[20376] 31964 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 2 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #44 { rss: 332709888, heapTotal: 15539200, heapUsed: 4047664 }
example before iteration #45 { rss: 332709888, heapTotal: 15539200, heapUsed: 4260992 }
[20376] 33494 ms: Mark-sweep 4.2 (40.0) -> 3.6 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #46 { rss: 311394304, heapTotal: 15539200, heapUsed: 3828600 }
example before iteration #47 { rss: 311357440, heapTotal: 15539200, heapUsed: 4218272 }
example before iteration #48 { rss: 306425856, heapTotal: 15539200, heapUsed: 4440752 }
[20376] 35757 ms: Mark-sweep 4.4 (40.0) -> 3.8 (40.0) MB, 2 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #49 { rss: 331534336, heapTotal: 15539200, heapUsed: 4052600 }
example before iteration #50 { rss: 326696960, heapTotal: 15539200, heapUsed: 4262248 }
[20376] 37279 ms: Mark-sweep 4.2 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #51 { rss: 331599872, heapTotal: 15539200, heapUsed: 4000704 }
example before iteration #52 { rss: 331587584, heapTotal: 15539200, heapUsed: 4216816 }
example before iteration #53 { rss: 331722752, heapTotal: 15539200, heapUsed: 4406368 }
[20376] 39596 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #54 { rss: 327487488, heapTotal: 15539200, heapUsed: 4065720 }
example before iteration #55 { rss: 332431360, heapTotal: 15539200, heapUsed: 4275480 }
[20376] 41384 ms: Mark-sweep 4.2 (40.0) -> 3.8 (40.0) MB, 4 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #56 { rss: 322465792, heapTotal: 15539200, heapUsed: 4007112 }
example before iteration #57 { rss: 322543616, heapTotal: 15539200, heapUsed: 4223200 }
example before iteration #58 { rss: 317923328, heapTotal: 15539200, heapUsed: 4412736 }
[20376] 43952 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #59 { rss: 327917568, heapTotal: 15539200, heapUsed: 4066400 }
example before iteration #60 { rss: 332804096, heapTotal: 15539200, heapUsed: 4275928 }
[20376] 45501 ms: Mark-sweep 4.2 (40.0) -> 3.6 (40.0) MB, 1 / 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #61 { rss: 311341056, heapTotal: 15539200, heapUsed: 3841768 }
example before iteration #62 { rss: 311513088, heapTotal: 15539200, heapUsed: 4231264 }
example before iteration #63 { rss: 306606080, heapTotal: 15539200, heapUsed: 4453816 }
[20376] 47774 ms: Mark-sweep 4.4 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #64 { rss: 331472896, heapTotal: 15539200, heapUsed: 4065360 }
example before iteration #65 { rss: 331386880, heapTotal: 15539200, heapUsed: 4274848 }
[20376] 49334 ms: Mark-sweep 4.2 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #66 { rss: 331501568, heapTotal: 15539200, heapUsed: 4006928 }
example before iteration #67 { rss: 331513856, heapTotal: 15539200, heapUsed: 4223392 }
example before iteration #68 { rss: 331583488, heapTotal: 15539200, heapUsed: 4412792 }
[20376] 51696 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #69 { rss: 332169216, heapTotal: 15539200, heapUsed: 4066344 }
example before iteration #70 { rss: 327495680, heapTotal: 15539200, heapUsed: 4275960 }
[20376] 53231 ms: Mark-sweep 4.2 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #71 { rss: 317546496, heapTotal: 15539200, heapUsed: 4007856 }
example before iteration #72 { rss: 317530112, heapTotal: 15539200, heapUsed: 4232856 }
example before iteration #73 { rss: 317603840, heapTotal: 15539200, heapUsed: 4422128 }
[20376] 55525 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #74 { rss: 332640256, heapTotal: 15539200, heapUsed: 4074408 }
example before iteration #75 { rss: 332734464, heapTotal: 15539200, heapUsed: 4283176 }
[20376] 57044 ms: Mark-sweep 4.3 (40.0) -> 3.6 (40.0) MB, 1 / 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #76 { rss: 311255040, heapTotal: 15539200, heapUsed: 3852680 }
example before iteration #77 { rss: 306454528, heapTotal: 15539200, heapUsed: 4244720 }
example before iteration #78 { rss: 311353344, heapTotal: 15539200, heapUsed: 4466816 }
[20376] 59313 ms: Mark-sweep 4.4 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #79 { rss: 331497472, heapTotal: 15539200, heapUsed: 4074496 }
example before iteration #80 { rss: 326881280, heapTotal: 15539200, heapUsed: 4283648 }
[20376] 60835 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #81 { rss: 331649024, heapTotal: 15539200, heapUsed: 4015832 }
example before iteration #82 { rss: 326864896, heapTotal: 15539200, heapUsed: 4231320 }
example before iteration #83 { rss: 331755520, heapTotal: 15539200, heapUsed: 4420832 }
[20376] 63106 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #84 { rss: 327643136, heapTotal: 15539200, heapUsed: 4073672 }
example before iteration #85 { rss: 332652544, heapTotal: 15539200, heapUsed: 4282824 }
[20376] 64664 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #86 { rss: 317767680, heapTotal: 15539200, heapUsed: 4015504 }
example before iteration #87 { rss: 322666496, heapTotal: 15539200, heapUsed: 4232432 }
example before iteration #88 { rss: 322887680, heapTotal: 15539200, heapUsed: 4421840 }
[20376] 66985 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 2 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #89 { rss: 333012992, heapTotal: 15539200, heapUsed: 4079688 }
example before iteration #90 { rss: 328105984, heapTotal: 15539200, heapUsed: 4288832 }
[20376] 68531 ms: Mark-sweep 4.3 (40.0) -> 3.6 (40.0) MB, 1 / 4 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #91 { rss: 306552832, heapTotal: 15539200, heapUsed: 3858296 }
example before iteration #92 { rss: 311496704, heapTotal: 15539200, heapUsed: 4247912 }
example before iteration #93 { rss: 306712576, heapTotal: 15539200, heapUsed: 4470896 }
[20376] 70870 ms: Mark-sweep 4.4 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #94 { rss: 331173888, heapTotal: 15539200, heapUsed: 4078192 }
example before iteration #95 { rss: 326361088, heapTotal: 15539200, heapUsed: 4287656 }
[20376] 72410 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #96 { rss: 331296768, heapTotal: 15539200, heapUsed: 4021040 }
example before iteration #97 { rss: 331341824, heapTotal: 15539200, heapUsed: 4236904 }
example before iteration #98 { rss: 331423744, heapTotal: 15539200, heapUsed: 4426392 }
[20376] 74704 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
example before iteration #99 { rss: 327225344, heapTotal: 15539200, heapUsed: 4079600 }
example before iteration #100 { rss: 332161024, heapTotal: 15539200, heapUsed: 4289800 }
[20376] 76228 ms: Mark-sweep 4.3 (40.0) -> 3.8 (40.0) MB, 3 ms [external memory allocation limit reached] [GC in old space requested].
[20376] 76973 ms: Mark-sweep 4.1 (40.0) -> 3.9 (40.0) MB, 3 ms [HeapSnapshotGenerator::GenerateSnapshot] [GC in old space requested].
[20376] 76976 ms: Mark-sweep 3.9 (40.0) -> 3.6 (40.0) MB, 2 ms [HeapSnapshotGenerator::GenerateSnapshot] [GC in old space requested].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment