Total allocated: 267388634 bytes (2373642 objects)
Total retained: 83211730 bytes (864334 objects)
allocated memory by gem
-----------------------------------
220305928 json
47082706 other
allocated memory by file
-----------------------------------
220305928 /Users/igorfedoronchuk/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/json/common.rb
47082706 test.rb
allocated memory by location
-----------------------------------
217064088 /Users/igorfedoronchuk/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/json/common.rb:156
43770282 test.rb:12
3312344 test.rb:11
3241840 /Users/igorfedoronchuk/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/json/common.rb:155
80 test.rb:13
allocated memory by class
-----------------------------------
111253154 String
94661728 JSON::Ext::Parser
58161328 Hash
3303920 Array
8424 File
80 Proc
allocated objects by gem
-----------------------------------
1959164 json
414478 other
allocated objects by file
-----------------------------------
1959164 /Users/igorfedoronchuk/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/json/common.rb
414478 test.rb
allocated objects by location
-----------------------------------
1878118 /Users/igorfedoronchuk/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/json/common.rb:156
331878 test.rb:12
82599 test.rb:11
81046 /Users/igorfedoronchuk/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/json/common.rb:155
1 test.rb:13
allocated objects by class
-----------------------------------
1964376 String
245620 Hash
82598 Array
81046 JSON::Ext::Parser
1 File
1 Proc
retained memory by gem
-----------------------------------
83211730 json