Hi,

In message "Re: Memory consumption."
    on 02/05/21, Yohanes Santoso <ruby-talk / jenny-gnome.dyndns.org> writes:

|> Is there some method that tells me how much memory a certain object
|> consumes?

String: 5 words + (length + 1) bytes
Fixnum: 1 word
Array:  5 words + length words
Object: (5 + 4) words + extra

							matz.