Make and run a library

I'm not sure how can I get the RAM in use. Can you show me how ?