Issue 134975
Summary clangd won't clean old pch files
Labels new issue
Assignees
Reporter Abbyyan
    With clangd config `--pch-storage=disk`, the pch files will store under the dir which is specified by `"TMPDIR", "TMP", "TEMP", "TEMPDIR"` as described by [issue 255](https://github.com/clangd/clangd/issues/255). But a few months after modified `TEMPDIR`, I found the data disk is filled with pch files. Pch files 5 mouths ago has not been cleaned up yet, which occupying 300G of disk. Learned from [issue 1957](https://github.com/clangd/clangd/issues/1957), I want to know if there any progress in cleaning up pch files please.  Thanks a lot.
ps, `--pch-storage=memory` is not set because sometimes memory will explode even with `-j=4`.
![Image](https://github.com/user-attachments/assets/7fd3cba5-80c3-4a40-9f5b-d041ad76bf8e)

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to