getdist icon indicating copy to clipboard operation
getdist copied to clipboard

800 GB on getdist cache

Open vivianmiranda opened this issue 2 years ago • 1 comments

Hi Lewis,

I hope you are well. I am writing because my server just crashed with my OS hard drive being out of space. After investigation, I noticed that ~/.cache/getdist_cache/ was consuming 800GB! Is it possible to make GetDist not use so much cache memory? Getdist will always crash OS drives (which are not usually large) with such behavior.

Best Vivian

vivianmiranda avatar Oct 13 '22 03:10 vivianmiranda

I guess this is on linux. The idea is that this location is a directory that is automatically purged periodically or when space is needed. On linux systems it comes from the XDG_CACHE_HOME cache env var if set. Welcome to suggest improvements to getdist's _get_cache_dir function.

cmbant avatar Oct 13 '22 07:10 cmbant

any suggestions for improvement on this or can I close?

cmbant avatar Jan 11 '23 09:01 cmbant

Closing as no response

cmbant avatar Mar 13 '23 12:03 cmbant