check if the ram full python code example
Example: python check ram usage
import psutil # Can be found at https://pypi.org/project/psutil/
psutil.virtual_memory()
import psutil # Can be found at https://pypi.org/project/psutil/
psutil.virtual_memory()