github / github/codeql-cli-binaries
database analyze not honoring the memory limits.
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 1k
- Forks
- 184
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
```
Guía de contribución
Línea de trabajo
Empieza reproduciendo el comando `codeql database analyze` del issue con `-j 30` y `-M 30240`, mientras monitorizas el uso de memoria y el número de hilos. La corrección está completa cuando el análisis respeta ambos límites durante la ejecución de la suite C++ LGTM indicada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp
- Área
- cli, performance, tooling
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 25/100