How much RAM Ruby needs for processing hashes?

When I use hashes, how much RAM Ruby uses? Is there an estimate based on
input data size? I remember that Perl need about twice the input size.

Additionally, is there a way I can check how much RAM is used by the
system, if possible record the history of RAM usage.

I hope my questions are not stupid. I am new the programming. Thanks for
the help.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs