Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ooo: Request textDocument/completion failed with message: Maximum call stack size exceeded: Error: Request textDocument/completion failed with message: Maximum call stack size exceeded #367

Open
ssbarnea opened this issue Aug 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ssbarnea
Copy link

ssbarnea commented Aug 1, 2024

Describe the bug

Extension is running out of memory sometimes:

2024-07-31 13:08:28.569 [error] Request textDocument/completion failed with message: Maximum call stack size exceeded: Error: Request textDocument/completion failed with message: Maximum call stack size exceeded
	at /Users/ssbarnea/.vscode/extensions/github.vscode-github-actions-0.26.3/dist/extension-node.js:2:633457
	at /Users/ssbarnea/.vscode/extensions/github.vscode-github-actions-0.26.3/dist/extension-node.js:2:633751
	at Timeout._onTimeout (/Users/ssbarnea/.vscode/extensions/github.vscode-github-actions-0.26.3/dist/extension-node.js:2:634113)
	at listOnTimeout (node:internal/timers:573:17)
	at process.processTimers (node:internal/timers:514:7)
2024-08-01 13:33:57.033 [error] [Extension Host] Error loading yaml file

To Reproduce
Steps to reproduce the behavior:

  1. With this workflow '...'
  2. Do this '...'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Extension Version
v0.26.3

Additional context

That is on a 64GB M1 max laptop, so bit unexpected. I wonder if that is caused by node running out of memory as I encountered recently another issue with it that required me to add NODE_OPTIONS=--max-old-space-size=4096 in order to just run yarn webpack... :p

@DetachHead
Copy link

repro:

jobs:
    asdf:
      strategy:
        matrix:
          python_version: ["3"]

place the cursor after the 3 and add a .:

i doubt this is memory related, its probably a recursive function call that's getting caught in an infinite loop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog 🗒
Development

No branches or pull requests

2 participants