Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rdmd should limit its tmp cache #412

Open
dlang-bugzilla-migration opened this issue Jun 5, 2020 · 0 comments
Open

rdmd should limit its tmp cache #412

dlang-bugzilla-migration opened this issue Jun 5, 2020 · 0 comments
Labels
Prio.3.Normal A bug that is neither a blocker nor a regression T.RDMD Issues that apply only to rdmd Type.Enhancement An improvement to an existing functionality

Comments

@dlang-bugzilla-migration

Transferred from: https://issues.dlang.org/show_bug.cgi?id=11405

User @MartinNowak reported (2013-Oct-31 16:28:42):

Old discussion but still a valid issue.
http://forum.dlang.org/thread/gomtj5$1iut$1@digitalmars.com
Rdmd needs a reasonable policy to evict old cached folders.
A simple solution would be to delete an existing folder with the same
first 2-3 bytes of the digest. This means we'd have to lock the folders
to synchronize different rdmd processes.

User @AndrejMitrovic responded (2014-Apr-26 19:31:14):

(In reply to Martin Nowak from comment #0)

A simple solution would be to delete an existing folder with the same
first 2-3 bytes of the digest. This means we'd have to lock the folders
to synchronize different rdmd processes.

I'd hate to make RDMD more complicated, but one idea is to make RDMD read its own config file just like DMD reads its .conf file, and then make this stuff configurable.

User @bearophile responded (2014-Apr-26 19:43:05):

Renamed issue it's => its, hopefully for the better.

User @CyberShadow responded (2017-Jul-08 01:53:45):

With /tmp being a tmpfs on many distros today, and Windows' disk cleanup utility knowing about and deleting the %TEMP% directory on request or when the disk gets full, this may not be as much of an issue nowadays, though still may be worth fixing.

@dlang-bugzilla-migration dlang-bugzilla-migration added Type.Enhancement An improvement to an existing functionality Prio.3.Normal A bug that is neither a blocker nor a regression T.RDMD Issues that apply only to rdmd labels Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio.3.Normal A bug that is neither a blocker nor a regression T.RDMD Issues that apply only to rdmd Type.Enhancement An improvement to an existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant