-
-
Save akrzos/5e28f3474163ab3d9fcb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):018:0> ObjectSpace.each_object { |o| puts(ObjectSpace.memsize_of(o).to_s + " bytes " + o.class.name + " " + ObjectSpace.allocation_sourcefile(o).to_s + ":" + ObjectSpace.allocation_sourceline(o).to_s) if ObjectSpace.memsize_of(o) > 10000 } | |
11544 bytes Hash : | |
11544 bytes Hash : | |
25640 bytes Array : | |
12600 bytes Array : | |
12512 bytes Array : | |
1050520 bytes Thread : | |
11016 bytes Class : | |
11768 bytes Class : | |
37208 bytes Class : | |
10344 bytes Hash : | |
10360 bytes RubyVM::InstructionSequence : | |
21088 bytes RubyVM::InstructionSequence : | |
10104 bytes Hash : | |
11880 bytes RubyVM::InstructionSequence : | |
11624 bytes RubyVM::InstructionSequence : | |
11800 bytes RubyVM::InstructionSequence : | |
12072 bytes RubyVM::InstructionSequence : | |
28256 bytes RubyVM::InstructionSequence : | |
10936 bytes RubyVM::InstructionSequence : | |
19384 bytes RubyVM::InstructionSequence : | |
25640 bytes Array : | |
16656 bytes RubyVM::InstructionSequence : | |
11136 bytes RubyVM::InstructionSequence : | |
13400 bytes RubyVM::InstructionSequence : | |
21512 bytes Hash : | |
12360 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
10856 bytes Module : | |
16616 bytes Hash : | |
14120 bytes Class : | |
10616 bytes RubyVM::InstructionSequence : | |
10504 bytes RubyVM::InstructionSequence : | |
11656 bytes RubyVM::InstructionSequence : | |
12504 bytes RubyVM::InstructionSequence : | |
22248 bytes Array : | |
24040 bytes RubyVM::InstructionSequence : | |
14592 bytes RubyVM::InstructionSequence : | |
14912 bytes RubyVM::InstructionSequence : | |
12888 bytes Hash : | |
24392 bytes Hash : | |
15768 bytes RubyVM::InstructionSequence : | |
19784 bytes RubyVM::InstructionSequence : | |
11312 bytes RubyVM::InstructionSequence : | |
14088 bytes Module : | |
14840 bytes Class : | |
10816 bytes RubyVM::InstructionSequence : | |
10264 bytes RubyVM::InstructionSequence : | |
15192 bytes Class /var/www/miq/vmdb/app/models/ems_folder.rb:1 | |
10056 bytes Hash : | |
10056 bytes Hash : | |
23538 bytes String : | |
10056 bytes Hash : | |
10056 bytes Hash : | |
10400 bytes RubyVM::InstructionSequence : | |
11768 bytes Class /var/www/miq/vmdb/app/models/condition.rb:1 | |
11832 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/attribute_methods.rb:70 | |
16056 bytes Class /var/www/miq/vmdb/app/models/resource_pool.rb:1 | |
10104 bytes Hash : | |
10224 bytes RubyVM::InstructionSequence : | |
13864 bytes RubyVM::InstructionSequence : | |
17960 bytes Module : | |
38712 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
63720 bytes Class : | |
80680 bytes RubyVM::InstructionSequence : | |
11992 bytes Class : | |
205072 bytes Array : | |
11400 bytes RubyVM::InstructionSequence : | |
28760 bytes Hash /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/core_ext/hash/keys.rb:142 | |
12888 bytes Hash : | |
18120 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
10632 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
39376 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
37656 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
14504 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
12112 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
10104 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
12344 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
13256 bytes RubyVM::InstructionSequence : | |
11400 bytes RubyVM::InstructionSequence : | |
210184 bytes Array : | |
15640 bytes RubyVM::InstructionSequence : | |
24120 bytes RubyVM::InstructionSequence : | |
234360 bytes FastGettext::GetText::MOFile : | |
14488 bytes RubyVM::InstructionSequence : | |
205072 bytes Array : | |
10776 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
26936 bytes Class : | |
11160 bytes RubyVM::InstructionSequence : | |
23744 bytes RubyVM::InstructionSequence : | |
12360 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
25512 bytes Class : | |
30720 bytes RubyVM::InstructionSequence : | |
10056 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
10248 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
18048 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
10568 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
10112 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
14648 bytes Class /var/www/miq/vmdb/app/models/miq_action.rb:1 | |
25880 bytes Hash : | |
25304 bytes Hash : | |
11656 bytes RubyVM::InstructionSequence : | |
11320 bytes RubyVM::InstructionSequence : | |
12408 bytes RubyVM::InstructionSequence : | |
31936 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
11304 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/attribute_methods.rb:70 | |
35512 bytes Class /var/www/miq/vmdb/app/models/storage.rb:1 | |
12312 bytes RubyVM::InstructionSequence : | |
10248 bytes Module : | |
210184 bytes Array : | |
13040 bytes RubyVM::InstructionSequence : | |
16872 bytes RubyVM::InstructionSequence : | |
12816 bytes RubyVM::InstructionSequence : | |
30248 bytes Hash : | |
38232 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
10736 bytes RubyVM::InstructionSequence : | |
17360 bytes RubyVM::InstructionSequence : | |
25864 bytes RubyVM::InstructionSequence : | |
12360 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
38232 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
15672 bytes Class /var/www/miq/vmdb/app/models/miq_enterprise.rb:1 | |
20880 bytes Array : | |
21024 bytes RubyVM::InstructionSequence : | |
11968 bytes RubyVM::InstructionSequence : | |
23584 bytes Array : | |
10208 bytes RubyVM::InstructionSequence : | |
15672 bytes RubyVM::InstructionSequence : | |
14424 bytes Class : | |
10760 bytes RubyVM::InstructionSequence : | |
23584 bytes Array : | |
11032 bytes Array : | |
11304 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
22032 bytes RubyVM::InstructionSequence : | |
12512 bytes Array : | |
12600 bytes Array : | |
26136 bytes Array : | |
42312 bytes Hash : | |
29624 bytes Hash : | |
12360 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
26136 bytes Array : | |
10968 bytes RubyVM::InstructionSequence : | |
22392 bytes Array : | |
13112 bytes RubyVM::InstructionSequence : | |
10152 bytes Class : | |
16144 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
13720 bytes RubyVM::InstructionSequence : | |
10616 bytes Class /var/www/miq/vmdb/app/models/miq_alert.rb:1 | |
12904 bytes Class : | |
189432 bytes Array : | |
10248 bytes Class : | |
10184 bytes RubyVM::InstructionSequence : | |
10904 bytes Class : | |
10952 bytes RubyVM::InstructionSequence : | |
10936 bytes Class : | |
13568 bytes RubyVM::InstructionSequence : | |
12352 bytes RubyVM::InstructionSequence : | |
17240 bytes RubyVM::InstructionSequence : | |
1049816 bytes Thread /opt/rh/rh-ruby22/root/usr/share/ruby/drb/drb.rb:1498 | |
19848 bytes Regexp : | |
11664 bytes Regexp : | |
15000 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/attribute_methods.rb:70 | |
11304 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
10680 bytes RubyVM::InstructionSequence : | |
28984 bytes RubyVM::InstructionSequence : | |
212000 bytes Array : | |
11648 bytes RubyVM::InstructionSequence : | |
189432 bytes Array : | |
43840 bytes RubyVM::InstructionSequence : | |
78825 bytes Regexp : | |
11496 bytes Regexp : | |
20970 bytes Regexp : | |
46313 bytes Regexp : | |
24297 bytes Regexp : | |
15112 bytes RubyVM::InstructionSequence : | |
10104 bytes Hash : | |
12696 bytes Module : | |
19736 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
53160 bytes Class : | |
12728 bytes RubyVM::InstructionSequence : | |
69664 bytes RubyVM::InstructionSequence : | |
10104 bytes Hash : | |
11117 bytes String : | |
13560 bytes Array : | |
11712 bytes RubyVM::InstructionSequence : | |
12104 bytes RubyVM::InstructionSequence : | |
10976 bytes RubyVM::InstructionSequence : | |
10104 bytes Hash : | |
17960 bytes Hash : | |
17088 bytes RubyVM::InstructionSequence : | |
12080 bytes RubyVM::InstructionSequence : | |
12232 bytes RubyVM::InstructionSequence : | |
12784 bytes RubyVM::InstructionSequence : | |
212000 bytes Array : | |
16784 bytes RubyVM::InstructionSequence : | |
18792 bytes RubyVM::InstructionSequence : | |
60616 bytes RubyVM::InstructionSequence : | |
17160 bytes RubyVM::InstructionSequence : | |
25256 bytes RubyVM::InstructionSequence : | |
14472 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
12440 bytes RubyVM::InstructionSequence : | |
16256 bytes RubyVM::InstructionSequence : | |
13752 bytes Module : | |
13080 bytes Hash : | |
17960 bytes Hash : | |
10504 bytes RubyVM::InstructionSequence : | |
10608 bytes RubyVM::InstructionSequence : | |
11280 bytes RubyVM::InstructionSequence : | |
19064 bytes Class : | |
20624 bytes RubyVM::InstructionSequence : | |
17664 bytes RubyVM::InstructionSequence : | |
12456 bytes Class : | |
11032 bytes RubyVM::InstructionSequence : | |
17320 bytes RubyVM::InstructionSequence : | |
12520 bytes Array : | |
21176 bytes RubyVM::InstructionSequence : | |
11384 bytes RubyVM::InstructionSequence : | |
20072 bytes Array : | |
13112 bytes Class : | |
24016 bytes RubyVM::InstructionSequence : | |
20072 bytes Array : | |
11160 bytes Array : | |
10528 bytes Array : | |
10344 bytes RubyVM::InstructionSequence : | |
27168 bytes Array : | |
11192 bytes RubyVM::InstructionSequence : | |
12568 bytes Array : | |
27168 bytes Array : | |
25880 bytes Hash : | |
11144 bytes Class : | |
25880 bytes Hash : | |
18152 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/attribute_methods.rb:70 | |
14712 bytes Class /var/www/miq/vmdb/app/models/hardware.rb:1 | |
15016 bytes Array : | |
13928 bytes RubyVM::InstructionSequence : | |
11096 bytes RubyVM::InstructionSequence : | |
38232 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
200488 bytes Array : | |
10120 bytes RubyVM::InstructionSequence : | |
15832 bytes RubyVM::InstructionSequence : | |
366488 bytes Hash : | |
11248 bytes RubyVM::InstructionSequence : | |
10488 bytes Hash : | |
14888 bytes Hash : | |
17792 bytes RubyVM::InstructionSequence : | |
14672 bytes RubyVM::InstructionSequence : | |
10904 bytes RubyVM::InstructionSequence : | |
10041 bytes String /opt/rh/cfme-gemset/gems/arel-6.0.3/lib/arel/nodes.rb:88 | |
10041 bytes String /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/relation.rb:530 | |
31256 bytes Hash : | |
15240 bytes Module : | |
14312 bytes RubyVM::InstructionSequence : | |
11448 bytes RubyVM::InstructionSequence : | |
19496 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
19496 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods : | |
10080 bytes RubyVM::InstructionSequence : | |
11616 bytes RubyVM::InstructionSequence : | |
200488 bytes Array : | |
20792 bytes Class : | |
22232 bytes Class : | |
22280 bytes Class : | |
22376 bytes Class : | |
14952 bytes Hash : | |
15048 bytes Module : | |
14952 bytes Hash : | |
15048 bytes Module : | |
17744 bytes Array : | |
10368 bytes RubyVM::InstructionSequence : | |
15816 bytes RubyVM::InstructionSequence : | |
14880 bytes RubyVM::InstructionSequence : | |
14816 bytes RubyVM::InstructionSequence : | |
10912 bytes RubyVM::InstructionSequence : | |
10784 bytes RubyVM::InstructionSequence : | |
12568 bytes RubyVM::InstructionSequence : | |
13736 bytes RubyVM::InstructionSequence : | |
13768 bytes RubyVM::InstructionSequence : | |
57920 bytes RubyVM::InstructionSequence : | |
10056 bytes RubyVM::InstructionSequence : | |
10848 bytes RubyVM::InstructionSequence : | |
15392 bytes RubyVM::InstructionSequence : | |
11576 bytes RubyVM::InstructionSequence : | |
10096 bytes RubyVM::InstructionSequence : | |
23976 bytes RubyVM::InstructionSequence : | |
10200 bytes Hash /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/associations/preloader/association.rb:82 | |
12552 bytes Hash : | |
10640 bytes RubyVM::InstructionSequence : | |
43944 bytes Hash : | |
57864 bytes MIME::Types::Container : | |
93944 bytes MIME::Types::Container : | |
24656 bytes RubyVM::InstructionSequence : | |
10584 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
15696 bytes RubyVM::InstructionSequence : | |
12592 bytes RubyVM::InstructionSequence : | |
11216 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
22040 bytes Hash : | |
12384 bytes RubyVM::InstructionSequence : | |
19200 bytes RubyVM::InstructionSequence : | |
13528 bytes RubyVM::InstructionSequence : | |
21496 bytes RubyVM::InstructionSequence : | |
20792 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/attribute_methods.rb:70 | |
21704 bytes Class /var/www/miq/vmdb/app/models/miq_server.rb:1 | |
13216 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
23000 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
12888 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/attribute_methods.rb:70 | |
16425 bytes String /var/www/miq/vmdb/gems/pending/util/extensions/miq-deep.rb:3 | |
11632 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
11624 bytes Class /var/www/miq/vmdb/app/models/miq_event_definition.rb:1 | |
10200 bytes Hash /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/associations/preloader/association.rb:82 | |
13512 bytes Class /var/www/miq/vmdb/app/models/miq_policy.rb:3 | |
12360 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/attribute_methods.rb:70 | |
11832 bytes ActiveRecord::AttributeMethods::GeneratedAttributeMethods /opt/rh/cfme-gemset/gems/activerecord-4.2.4/lib/active_record/attribute_methods.rb:70 | |
16008 bytes Class /var/www/miq/vmdb/app/models/zone.rb:1 | |
16280 bytes RubyVM::InstructionSequence /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274 | |
=> 1223265 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment