Old discussion but still a valid issue.
http://forum.dlang.org/thread/[email protected]
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.
Comment #1 by andrej.mitrovich — 2014-04-26T19:31:14Z
(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.
Comment #2 by bearophile_hugs — 2014-04-26T19:43:05Z
Renamed issue it's => its, hopefully for the better.
Comment #3 by dlang-bugzilla — 2017-07-08T01:53:45Z
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.
Comment #4 by pro.mathias.lang — 2020-06-05T12:25:13Z