Ruby 1.9.3: GC.stat meaning

Hi, could somebody help me understanding the following fields
retrieved from GC.stat (present in Ruby 1.9.3)?:

{
:count=>115,
:heap_used=>703,
:heap_length=>802,
:heap_increment=>0,
:heap_live_num=>125038,
:heap_free_num=>158721,
:heap_final_num=>0
}

Can I assume that the memory consumed by my Ruby application is
related to the :head_used value?

Thanks a lot.

-----Messaggio originale-----
Da: Iaki Baz C. [mailto:[email protected]]
Inviato: gioved 1 dicembre 2011 21:44
A: ruby-talk ML
Oggetto: Ruby 1.9.3: GC.stat meaning

Hi, could somebody help me understanding the following fields retrieved
from
GC.stat (present in Ruby 1.9.3)?:

{
:count=>115,
:heap_used=>703,
:heap_length=>802,
:heap_increment=>0,
:heap_live_num=>125038,
:heap_free_num=>158721,
:heap_final_num=>0
}

Can I assume that the memory consumed by my Ruby application is related
to
the :head_used value?

Thanks a lot.


Iaki Baz C.
[email protected]


Caselle da 1GB, trasmetti allegati fino a 3GB e in piu’ IMAP, POP3 e
SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f

Sponsor:
Capodanno al parco Oltremare Riccione: Pacchetto hotel 3 stelle in
centro + ingresso al parco.