github / github/codeql-cli-binaries
database analyze not honoring the memory limits.
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 1k
- Forks
- 184
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
```
Guia de contribuição
Direção de pesquisa
Start by reproducing the `codeql database analyze` command from the issue with `-j 30` and `-M 30240`, while monitoring memory use and thread count. The fix is complete when the analysis honors both limits during the reported C++ LGTM suite run.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- cpp
- Domínio
- cli, performance, tooling
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 25/100