Jupyter Notebook 메모리 사용량 보기

  1. memory_profiler 을 설치한다.

SHELL

pip install memory_profiler

OR

Jupyter

!pip install memory_profiler
  1. Jupyter에서 외장 모듈을 불러온다
    %load_ext memory_profiler
    
  2. Jupyter에서 메모리 사용량 확인
    %memit
    

    peak memory: 75.84 MiB, increment: 0.07 MiB

namioto's profile image

namioto

2018-06-25 13:10

Read more posts by this author