# How to get 'used memory'?

**URL:** <https://www.ruby-forum.com/t/how-to-get-used-memory/128244>\
**Category:** Rails\
**Created:** [February 6, 2008, 4:44am UTC](https://www.ruby-forum.com/t/how-to-get-used-memory/128244 "2008-02-06T04:44:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![green](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@green](https://www.ruby-forum.com/u/green)\
**Post date:** [February 6, 2008, 4:44am UTC](https://www.ruby-forum.com/t/how-to-get-used-memory/128244/1 "2008-02-06T04:44:43Z")

</div>

First of all, I would like to say ‘thank you’ to all you guys for  
reading this.

I have been trying to find a solution to get the ‘used memory’ on  
windows via Python.

The function is supposed to be similar to the ‘freeMemory()’ or  
‘totalMemory’ in Java.

Can anyone please advise me how to get the precise memory figures?

Thank you.

Green
