VS Code - Reached heap limit Allocation failed - JavaScript heap out of memory

  • Operating system: Windows 11
  • IDE name and flavor/env: Vs Code
  • SonarLint plugin version: 3.3.3
  • Is connected mode used: No
    Hi,

SonarLint gives

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

error while analyzing my angular project. I uploaded logs. Could you please help?

[Error - 15:44:43.344] <--- JS stacktrace --->
[Error - 15:44:43.344] 
[Error - 15:44:43.344] FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
[Error - 15:44:43.544]  1: 00007FF7E8D67B7F v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114079
[Error - 15:44:43.544]  2: 00007FF7E8CF4546 DSA_meth_get_flags+65542
[Error - 15:44:43.552]  3: 00007FF7E8CF53FD node::OnFatalError+301
[Error - 15:44:43.552]  4: 00007FF7E962B29E v8::Isolate::ReportExternalAllocationLimitReached+94
[Error - 15:44:43.552]  5: 00007FF7E961587D v8::SharedArrayBuffer::Externalize+781
[Error - 15:44:43.552]  6: 00007FF7E94B8C4C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1468
[Error - 15:44:43.552]  7: 00007FF7E94B5D64 v8::internal::Heap::CollectGarbage+4244
[Error - 15:44:43.552]  8: 00007FF7E94B36E0 v8::internal::Heap::AllocateExternalBackingStore+2000
[Error - 15:44:43.552]  9: 00007FF7E94D8266 v8::internal::Factory::NewFillerObject+214
[Error - 15:44:43.552] 10: 00007FF7E920A735 v8::internal::DateCache::Weekday+1797
[Error - 15:44:43.552] 11: 00007FF7E96B8F91 v8::internal::SetupIsolateDelegate::SetupHeap+494417
[Error - 15:44:43.552] 12: 00007FF7E964DE9E v8::internal::SetupIsolateDelegate::SetupHeap+55902
[Error - 15:44:43.552] 13: 000002598E8E7140 
[Error - 15:44:43.552] eslint-bridge Node.js process is unresponsive. This is most likely caused by process running out of memory. Consider setting sonar.javascript.node.maxspace to higher value (e.g. 4096).
[Error - 15:44:43.552] Failure during analysis, Node.js command to start eslint-bridge was: C:\Program Files\nodejs\node.exe 

SonarLint Log.txt (23.3 KB)