stat

GC.stat รข Hash
Class Public methods

Returns a Hash containing information about the GC.

The hash includes information about internal statistics about GC such as:

{
    :count=>0,
    :heap_used=>12,
    :heap_length=>12,
    :heap_increment=>0,
    :heap_live_num=>7539,
    :heap_free_num=>88,
    :heap_final_num=>0,
    :total_allocated_object=>7630,
    :total_freed_object=>88
}

The contents of the hash are implementation specific and may be changed in the future.

This method is only expected to work on C Ruby.

doc_ruby_on_rails
2015-04-07 15:27:53
Comments
Leave a Comment

Please login to continue.