a ze[ @sdZddlZddlZddlZzedZWn@eefyjzedZWneefyddZYn0Yn0ej dej Z e e dZejdjeedd ejed qldS) zpMemory watchdog: periodically read the memory usage of the main test process and print it out, until terminated.N SC_PAGESIZE SC_PAGE_SIZEiz$ ... process data size: {data:.1f}G i@)data)__doc__ossystimesysconfZ page_size ValueErrorAttributeErrorstdinseekreadZstatmintsplitrstdoutwriteformatflushsleeprrH/opt/bitninja-python-dojo/embedded/lib/python3.9/test/memory_watchdog.pys$