Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check all python memory usage in python

import os, psutil; print(psutil.Process(os.getpid()).memory_info().rss / 1024 ** 2)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #python #memory #usage #python
ADD COMMENT
Topic
Name
9+6 =