Title: github/codeql-action/upload-sarif - JavaScript heap out of memory · Issue #3459 · coder/code-server · GitHub
Open Graph Title: github/codeql-action/upload-sarif - JavaScript heap out of memory · Issue #3459 · coder/code-server
X Title: github/codeql-action/upload-sarif - JavaScript heap out of memory · Issue #3459 · coder/code-server
Description: I started noticing this issue today. Our CodeQL results aren't being uploaded due to a memory issue. See logs Run github/codeql-action/upload-sarif@v1 Uploading sarif files: ["trivy-image-results.sarif"] FATAL ERROR: CALL_AND_RETRY_LAST ...
Open Graph Description: I started noticing this issue today. Our CodeQL results aren't being uploaded due to a memory issue. See logs Run github/codeql-action/upload-sarif@v1 Uploading sarif files: ["trivy-image-results.s...
X Description: I started noticing this issue today. Our CodeQL results aren't being uploaded due to a memory issue. See logs Run github/codeql-action/upload-sarif@v1 Uploading sarif files: ["trivy-image-...
Opengraph URL: https://github.com/coder/code-server/issues/3459
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"github/codeql-action/upload-sarif - JavaScript heap out of memory","articleBody":"I started noticing this issue today. Our CodeQL results aren't being uploaded due to a memory issue.\r\n\r\nSee [logs](https://github.com/cdr/code-server/pull/3450/checks?check_run_id=2655525849#step:6:1)\r\n```logs\r\nRun github/codeql-action/upload-sarif@v1\r\nUploading sarif files: [\"trivy-image-results.sarif\"]\r\nFATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory\r\n\r\n\u003c--- Last few GCs ---\u003e\r\n\r\n[2047:0x42960e0] 211606 ms: Mark-sweep 1968.4 (1973.9) -\u003e 1968.4 (1970.9) MB, 1146.9 / 0.0 ms (average mu = 0.902, current mu = 0.000) last resort GC in old space requested\r\n[2047:0x42960e0] 212790 ms: Mark-sweep 1968.4 (1970.9) -\u003e 1968.4 (1970.9) MB, 1183.6 / 0.0 ms (average mu = 0.811, current mu = 0.000) last resort GC in old space requested\r\n\r\n\r\n\u003c--- JS stacktrace ---\u003e\r\n\r\n==== JS stack trace =========================================\r\n\r\n 0: ExitFrame [pc: 0x1374fd9]\r\nSecurity context: 0x1df0d8ac08a1 \u003cJSObject\u003e\r\n 1: outputHash(aka outputHash) [0x23868395bba1] [/home/runner/work/_actions/github/codeql-action/v1/lib/fingerprints.js:~63] [pc=0x4e7bc427b85](this=0x2d8a3d4404a9 \u003cundefined\u003e)\r\n 2: hash(aka hash) [0x4b2344f8471] [/home/runner/work/_actions/github/codeql-action/v1/lib/fingerprints.js:~41] [pc=0x4e7bc42400b](this=0x2d8a3d4404a9 \u003cundefined\u003e,0x23868395bbe1 \u003cJSF...\r\n\r\n 1: 0x9da7c0 node::Abort() [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n 2: 0x9db976 node::OnFatalError(char const*, char const*) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n 3: 0xb39f1e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n 4: 0xb3a299 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n 5: 0xce5635 [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n 6: 0xcf54fd v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n 7: 0xcbc118 v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::RootIndex, int, v8::internal::Object, v8::internal::AllocationType) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n 8: 0xcbc220 v8::internal::Handle\u003cv8::internal::FixedArray\u003e v8::internal::Factory::NewFixedArrayWithMap\u003cv8::internal::FixedArray\u003e(v8::internal::RootIndex, int, v8::internal::AllocationType) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n 9: 0xecb760 v8::internal::HashTable\u003cv8::internal::StringTable, v8::internal::StringTableShape\u003e::NewInternal(v8::internal::Isolate*, int, v8::internal::AllocationType) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n10: 0xecb7be v8::internal::HashTable\u003cv8::internal::StringTable, v8::internal::StringTableShape\u003e::New(v8::internal::Isolate*, int, v8::internal::AllocationType, v8::internal::MinimumCapacity) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n11: 0xecbe8b v8::internal::HashTable\u003cv8::internal::StringTable, v8::internal::StringTableShape\u003e::EnsureCapacity(v8::internal::Isolate*, v8::internal::Handle\u003cv8::internal::StringTable\u003e, int, v8::internal::AllocationType) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n12: 0xed4af1 v8::internal::Handle\u003cv8::internal::String\u003e v8::internal::StringTable::LookupKey\u003cv8::internal::InternalizedStringKey\u003e(v8::internal::Isolate*, v8::internal::InternalizedStringKey*) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n13: 0xed4be6 v8::internal::StringTable::LookupString(v8::internal::Isolate*, v8::internal::Handle\u003cv8::internal::String\u003e) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n14: 0x100b30b v8::internal::Runtime_GetProperty(int, unsigned long*, v8::internal::Isolate*) [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n15: 0x1374fd9 [/home/runner/runners/2.278.0/externals/node12/bin/node]\r\n```\r\n\r\nRelated:\r\n- https://github.com/github/codeql-action/issues/245#issuecomment-847191284\r\n- https://github.com/github/codeql-action/issues/528","author":{"url":"https://github.com/jsjoeio","@type":"Person","name":"jsjoeio"},"datePublished":"2021-05-24T16:55:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3459/code-server/issues/3459"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1e806602-0437-d45b-ec60-7d76e4a385f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1F8:2F0FE8:1422DB7:1AB7810:6A5348ED |
| html-safe-nonce | bef3d5018fea063b3cff7b374fafbc2b9a5cd1bc025f7873a5647ae7d4013657 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUY4OjJGMEZFODoxNDIyREI3OjFBQjc4MTA6NkE1MzQ4RUQiLCJ2aXNpdG9yX2lkIjoiMzk3MDg1NTQ0NjI4NjM4NzQzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 47de4e250062caa2fe81429e2f42f7495e993c954111ce1c301bf0836354d705 |
| hovercard-subject-tag | issue:899837582 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/3459/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c1802860d50a408ac6f4dfdafa795414083322d165ea086e0f3ec2d142e46dcd/coder/code-server/issues/3459 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1802860d50a408ac6f4dfdafa795414083322d165ea086e0f3ec2d142e46dcd/coder/code-server/issues/3459 |
| og:image:alt | I started noticing this issue today. Our CodeQL results aren't being uploaded due to a memory issue. See logs Run github/codeql-action/upload-sarif@v1 Uploading sarif files: ["trivy-image-results.s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsjoeio |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width