Re: get_used_memory

Paul Rubin <[email protected]> Sun, 14 Jun 2026 01:28:40 -0700
Newsgroups comp.lang.python
Organization A noiseless patient Spider
Message-ID <[email protected]>
Lawrence D’Oliveiro <[email protected]> writes:
>     KeyError: 'MemTotal'

Yeah you have to use 'MemTotal:' as the key.  But, you still have to
convert the digit strings to integers.