B
    18\[                 @   s   d Z ddlZddlZddlZyedZW nD eefk
rn   yedZW n eefk
rh   dZY nX Y nX xZej	d ej
 Zee d Zejdjee d d	 ej  ed
 qrW dS )zpMemory watchdog: periodically read the memory usage of the main test process
and print it out, until terminated.    NSC_PAGESIZESC_PAGE_SIZEi      z$ ... process data size: {data:.1f}G
i   @)data   )__doc__ossystimesysconfZ	page_size
ValueErrorAttributeErrorstdinseekreadZstatmintsplitr   stdoutwriteformatflushsleep r   r   X/oak/stanford/groups/akundaje/marinovg/programs/Python-3.7.3/Lib/test/memory_watchdog.py<module>   s$   


