Skip to content

CodeQL frequently runs out of memory #5873

@vadi2

Description

@vadi2

See https://github.com/Mudlet/Mudlet/runs/2545548490?check_suite_focus=true. This only started happening recently.

tarting evaluation of codeql-cpp/Security/CWE/CWE-676/DangerousUseOfCin.ql.
  
  <--- Last few GCs --->
  FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
  
  [15072:0x4152290]   358171 ms: Mark-sweep 2044.9 (2050.5) -> 2044.2 (2050.8) MB, 2648.9 / 0.2 ms  (average mu = 0.102, current mu = 0.055) allocation failure scavenge might not succeed
  [15072:0x4152290]   360310 ms: Mark-sweep 2045.0 (2050.8) -> 2044.3 (2050.8) MB, 2136.4 / 0.7 ms  (average mu = 0.058, current mu = 0.001) allocation failure scavenge might not succeed
  
  
  <--- JS stacktrace --->
  
  ==== JS stack trace =========================================
  
      0: ExitFrame [pc: 0x1374fd9]
  Security context: 0x1c8fde0ea671 <JSObject>
      1: assign [0x1c8fde0eaf79](this=0x1c8fde0ea709 <JSFunction Object (sfi = 0x2f98f5fc7d69)>,0x24e7b9366d99 <Object map = 0x26412af40431>,0x24e7b9354089 <Object map = 0x202c0adc4df1>,0x1f85b62e3031 <Object map = 0x4f2c4e158d1>)
      2: loadExtensionMap(aka value) [0x24e7b9354019] [/home/runner/work/_actions/github/codeql-action/v1/node_modules/github-linguist/dis...
  
   1: 0x9da7c0 node::Abort() [/home/runner/runners/2.278.0/externals/node12/bin/node]

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions