PyWin32で、スクリプトのメモリ使用量取得
すぐ忘れるのでメモ
def memorySize(): from win32process import GetProcessMemoryInfo, GetCurrentProcess info = GetProcessMemoryInfo(GetCurrentProcess()) return info["WorkingSetSize"]
すぐ忘れるのでメモ
def memorySize(): from win32process import GetProcessMemoryInfo, GetCurrentProcess info = GetProcessMemoryInfo(GetCurrentProcess()) return info["WorkingSetSize"]