Skip to content

Heap out of memory #2868

@boshtannik

Description

@boshtannik

What happened?

<--- Last few GCs --->

[158507:0x30763000] 101018 ms: Scavenge (interleaved) 2032.7 (2048.6) -> 2032.6 (2052.9) MB, pooled: 0 MB, 9.43 / 0.00 ms (average mu = 0.564, current mu = 0.205) allocation failure;
[158507:0x30763000] 103703 ms: Mark-Compact 2035.7 (2052.9) -> 2033.6 (2056.9) MB, pooled: 0 MB, 2683.01 / 0.00 ms (average mu = 0.285, current mu = 0.008) allocation failure; scavenge might not succeed

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

1: 0x72ded8 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/home/jack/.nvm/versions/node/v24.12.0/bin/node]
2: 0xba1870 [/home/jack/.nvm/versions/node/v24.12.0/bin/node]
3: 0xba195f [/home/jack/.nvm/versions/node/v24.12.0/bin/node]
4: 0xe3a495 [/home/jack/.nvm/versions/node/v24.12.0/bin/node]
5: 0xe4b61c [/home/jack/.nvm/versions/node/v24.12.0/bin/node]
6: 0xe21263 [/home/jack/.nvm/versions/node/v24.12.0/bin/node]
7: 0xdf6eb0 [/home/jack/.nvm/versions/node/v24.12.0/bin/node]
8: 0x12ecef8 [/home/jack/.nvm/versions/node/v24.12.0/bin/node]
9: 0x7f29afe76636
My RAM consumption keep rising until this happens. No backup options to schrink context, etc..

What did you expect to happen?

qwen with renew session to open-up and be workable

Client information

/about

╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Status │
│ │
│ Qwen Code 0.13.2 (1b1a029) │
│ Runtime Node.js v24.12.0 / npm 11.6.2 │
│ OS linux x64 (6.12.73+deb13-amd64) │
│ │
│ Auth Qwen OAuth │
│ Model coder-model │
│ Session ID 0f116b03-6c81-4c01-aaea-4f201b7f4b9a │
│ Sandbox no sandbox │
│ Proxy no proxy │
│ Memory Usage 310.3 MB │

Login information

No response

Anything else we need to know?

I have schrinked context several times already

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions