Python memory footprint vs. heap size

后端 未结 4 935
有刺的猬
有刺的猬 2020-12-28 21:41

I\'m having some memory issues while using a python script to issue a large solr query. I\'m using the solrpy library to interface with th

4条回答
  •  不知归路
    2020-12-28 21:53

    CPython implementation only exceptionally free's allocated memory. This is a widely known bug, but it isn't receiving much attention by CPython developers. The recommended workaround is to "fork and die" the process that consumes lots RAM.

提交回复
热议问题