Skip to content
Irixo edited this page Dec 26, 2020 · 1 revision
  • Q: How accurate are the results ?
  • A: This module gets the memory consumption by querying the
    operating system kernel about the amount of memory the current process has allocated, which might be slightly different from the amount of memory that is actually used by the Python interpreter. Also, because of how the garbage collector works in Python the result might be different between platforms and even between runs.
  • Q: Does it work under windows ?
  • A: Yes, thanks to the
    psutil module.
Clone this wiki locally