{"height":"190","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2019%2F07%2F16%2F230227\" title=\"Python\u30d7\u30ed\u30bb\u30b9\u306e\u81ea\u5206\u81ea\u8eab\u306e\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u8abf\u3079\u308b - \u9759\u304b\u306a\u308b\u540d\u8f9e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["python","Tips"],"url":"https://hayataka2049.hatenablog.jp/entry/2019/07/16/230227","provider_url":"https://hatena.blog","blog_title":"\u9759\u304b\u306a\u308b\u540d\u8f9e","type":"rich","author_url":"https://blog.hatena.ne.jp/hayataka2049/","width":"100%","author_name":"hayataka2049","version":"1.0","published":"2019-07-16 23:02:27","title":"Python\u30d7\u30ed\u30bb\u30b9\u306e\u81ea\u5206\u81ea\u8eab\u306e\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u8abf\u3079\u308b","description":"\u7c21\u5358\u306a\u30c6\u30b9\u30c8\u3084\u51e6\u7406\u3092\u3057\u3066\u3044\u308b\u3068\u304d\u3001Python\u30d7\u30ed\u30bb\u30b9\u81ea\u8eab\u306e\u30e1\u30e2\u30ea\u6d88\u8cbb\u91cf\u3092\u8a08\u7b97\u3057\u305f\u304f\u306a\u308b\u3068\u304d\u304c\u3042\u308b\u3002\u3084\u308a\u65b9\u3092\u77e5\u3089\u306a\u304b\u3063\u305f\u3051\u3069\u3001\u9811\u5f35\u3063\u3066\u691c\u7d22\u3057\u305f\u3089\u51fa\u3066\u304d\u305f\u306e\u3067\u30e1\u30e2\u3002 import os import psutil process = psutil.Process(os.getpid()) print(process.memory_info().rss) \u53c2\u8003\u306b\u3057\u305f\u3082\u306e\uff08\u3068\u3044\u3046\u304b\u3001\u305d\u306e\u307e\u307e\uff09 Total memory used by Python process? - Stack Overflow psutil\u306f\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306f\u306a\u304f\u3001\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u3002\u6d3b\u767a\u306b\u958b\u767a\u3055\u308c\u3066\u3044\u308b\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u666e\u901a\u306bpi\u2026","blog_url":"https://hayataka2049.hatenablog.jp/","provider_name":"Hatena Blog"}