Stumbled across https://pypi.org/project/psrecord/ [https://pypi.org/project/psrecord/] yesterday. Awesome little tool to quickly graph memory & cpu usage over time for any process.