github / github/codeql

Limit Cache Size on Disk

Open
#18,045 10 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

Dear Developers,

I am using CodeQL to analyze my database. In the command, I use `--max-disk-cache=200000` to specify the maximum disk space the cache would take in this query. However, when it finishes, the cache is taking to 1.3TB.

Would `--max-disk-cache` limit the disk to use? Or is there any other command to resolve this issue?

Thank you so much.

Contributor guide

Open the contributing guide

Research direction

Start by checking the documented semantics of the `--max-disk-cache` option and compare them with the reported 1.3 TB result. Reproduce the command if possible, then determine whether the behavior is an implementation bug or whether the documentation needs to explain the cache limit and its units.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.