github / github/codeql-cli-binaries
database analyze not honoring the memory limits.
- 主要言語
- 言語のデータがありません
- スター
- 1k
- フォーク
- 184
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I am running the full cpp-lgmt query suite against a big codebase, and specified the memory limit to be 30GB, and 30 jobs, and I think it might be exceeding that limit.
According to HTOP, it is now using 70G of ram (still running and growing), and the number of threads is around 80.
This is the command I invoked:
```shellsession
mvanotti@markov:~/codeql-home$ ./codeql/codeql database analyze fuchsia-ql ql/cpp/ql/src/codeql-suites/cpp-lgtm-full.qls --format=sarif-latest --output=cpp-lgtm.sarif -j 30 -M 30240 --no-rerun
```
コントリビューションガイド
調査の方向性
まず、メモリ使用量とスレッド数を監視しながら、issue にある `codeql database analyze` コマンドを `-j 30` と `-M 30240` を指定して再現します。報告された C++ LGTM スイートの実行中に解析が両方の制限を守れば、修正は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- cli, performance, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100