Completely disable IPython output caching

后端 未结 4 360
日久生厌
日久生厌 2021-02-02 00:42

I\'m dealing with some GB-sized numpy arrays in IPython. When I delete them, I definitely want them gone, in order to recover the memory. IPythons output cache is quite annoying

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-02 01:28

    Looking at IPython/core/displayhook.py Line 209-214 I would say that it is not configurable. You could try making a PR to add an option to disable it totally.

提交回复
热议问题