Skip to content

massive bloat: make something delete everything in ~/.sage/gap > 1 week old and untouched #4936

@williamstein

Description

@williamstein

It is always safe to delete anything in ~/.sage/gap, since it will get autorecreated when Sage is started. I just looked at my ~/.sage/gap on sage.math and it is HUGE:

wstein@sage:~/.sage/gap$ ls -1 |wc -l
90
wstein@sage:~/.sage/gap$ du -sch .
1.3G .
1.3G total

I have stuff in there going back to March 2008.

The code in gap.py that creates the workspace in .sage/gap should also delete all old workspaces. I think 1 week is arbitrary, but is safe since as mentioned above any time length is safe.

Component: performance

Issue created by migration from https://trac.sagemath.org/ticket/4936

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions