I assume you meant 'JRuby'
Since JRuby uses the JVM, you can get the memory data using jconsole. If you
are just interested in the Total memory being used by the JVM you can use
something like the task manager in Windows.

Jim Menard wrote:
> 
> Does anybody know how I could calculate the amount of memory taken up
> by an instance of Ruby while running? Even a method for calculating a
> rough estimate would be helpful.
> 
> Jim
> -- 
> Jim Menard, [email protected], [email protected]
> http://www.io.com/~jimm/
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Size-of-Ruby-object-tp21079092p21085942.html
Sent from the JRuby - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to