Description
Hello! I have been investigating an issue where our javascript analysis can take hours, or often fail to complete entirely. We are also seeing large db results and memory usage. Unfortunately I don't have an isolated test case you can reference yet. I could use any guidance you have to help me identify what javascript file / code is causing this behavior so that I can help build that test case for you.
In my investigations I find that the resource consumption is specific to the GlobalAccessPaths
module. When this module runs at first iterations will be quite quick, but by iteration 19 resource consumption becomes excessive on my laptop.
This is reproducible using the .../qlpacks/codeql/javascript-queries/0.4.4/
, but using the older .../qlpacks/codeql/javascript-queries/0.4.3/
completes in a reasonable amount of time.
Are you aware of any change that might cause resource consumption increases in CLI v2.11.4?
How can I debug this further to understand what code is causing this behavior? I would like to provide a simple reproduction if possible, but currently the behavior is still really opaque to me.
Thank you!