title: What's the meaning of each hash value in ObjectSpace.count_objects?
body: <p>In ruby 1.9.3, I'm using ObjectSpace to inspect the memory issue. The ObjectSpace.count_objects returns a hash, which looks like:</p>
  
  <pre><code>{:TOTAL=&gt;1004232, :FREE=&gt;258543, :T_OBJECT=&gt;12519, :T_CLASS=&gt;10318, :T_MODULE=&gt;1330,    
  :T_FLOAT=&gt;2024, :T_STRING=&gt;555422, :T_REGEXP=&gt;3543, :T_ARRAY=&gt;68372, :T_HASH=&gt;5399,
  :T_STRUCT=&gt;542, :T_BIGNUM=&gt;8105, :T_FILE=&gt;10, :T_DATA=&gt;44277, :T_MATCH=&gt;6, :T_COMPLEX=&gt;1,   
  :T_RATIONAL=&gt;82, :T_NODE=&gt;31973, :T_ICLASS=&gt;1766}
  </code></pre>
  
  <p>What does each hash value mean? And especially, why does the :TOTAL stay unchanged for a long time? Does it mean no new object is created? </p>
  
  <p>I saw a <a href="https://stackoverflow.com/questions/3789929/on-ruby-1-9-what-are-the-meanings-of-the-hash-keys-when-calling-objectspace-cou">similar posting</a>, but no good answer yet.</p>