coder / coder/code-server

[Bug]: Memory leak?

Offen
#5,201 28 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
needs-investigation
Vorherrschende Sprache
TypeScript
Sterne
79.3k
Forks
6.8k
Ø Merge
2 T. 6 Std.
Gemergte PRs (30 T.)
41

Beschreibung

### Is there an existing issue for this?

- [X] I have searched the existing issues

### OS/Web Information

- Web Browser: Chrome
- Local OS: macOS, ChromeOS
- Remote OS: Ubuntu 20.04, 22.04
- Remote Architecture: x86-64
- `code-server --version`: 4.2.0, 4.3.0

Hi,

The memory consumed by the code-server (node) process gradually increases over time, regardless of whether and how the IDE is used. I have tested it multiple times and it has eventually used up all the 8GiB RAM of the server machine in a matter of 2 or so weeks.

Is this a well-known problem? Can I solve it permanently instead of rebooting the sever each time?

Many thanks

### Steps to Reproduce

1. Install code-server and run its daemon
2. Continually measure memory usage of the process
3. Wait :)

### Expected

The memory usage should not be monotonically increasing

### Actual

It is

### Logs

_No response_

### Screenshot/Video

_No response_

### Does this issue happen in VS Code?

- [X] I cannot reproduce this in VS Code.

### Are you accessing code-server over HTTPS?

- [X] I am using HTTPS.

### Notes

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.