Title: [Bug]: Memory leak? · Issue #5201 · coder/code-server · GitHub
Open Graph Title: [Bug]: Memory leak? · Issue #5201 · coder/code-server
X Title: [Bug]: Memory leak? · Issue #5201 · coder/code-server
Description: Is there an existing issue for this? 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, ...
Open Graph Description: Is there an existing issue for this? 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 ...
X Description: Is there an existing issue for this? 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 ...
Opengraph URL: https://github.com/coder/code-server/issues/5201
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Memory leak?","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have searched the existing issues\r\n\r\n### OS/Web Information\r\n\r\n- Web Browser: Chrome\r\n- Local OS: macOS, ChromeOS\r\n- Remote OS: Ubuntu 20.04, 22.04\r\n- Remote Architecture: x86-64\r\n- `code-server --version`: 4.2.0, 4.3.0\r\n\r\n\r\nHi,\r\n\r\nThe 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.\r\n\r\nIs this a well-known problem? Can I solve it permanently instead of rebooting the sever each time?\r\n\r\nMany thanks\r\n\r\n### Steps to Reproduce\r\n\r\n1. Install code-server and run its daemon\r\n2. Continually measure memory usage of the process\r\n3. Wait :)\r\n\r\n\r\n### Expected\r\n\r\nThe memory usage should not be monotonically increasing\r\n\r\n### Actual\r\n\r\nIt is\r\n\r\n### Logs\r\n\r\n_No response_\r\n\r\n### Screenshot/Video\r\n\r\n_No response_\r\n\r\n### Does this issue happen in VS Code?\r\n\r\n- [X] I cannot reproduce this in VS Code.\r\n\r\n### Are you accessing code-server over HTTPS?\r\n\r\n- [X] I am using HTTPS.\r\n\r\n### Notes\r\n\r\n_No response_","author":{"url":"https://github.com/aghasemi","@type":"Person","name":"aghasemi"},"datePublished":"2022-05-13T08:06:19Z","url":"https://github.com/coder/code-server/issues/5201"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:7ef88bf7-fe94-ce5b-d9a1-4bc51f0b7064 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96A0:17FB7:224F838:2B884CB:6B01B397 |
| html-safe-nonce | 4b0e95eade819c8a40dfa8f747790ee5cf75c31d870083d1a46b5f848b634e1f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkEwOjE3RkI3OjIyNEY4Mzg6MkI4ODRDQjo2QjAxQjM5NyIsInZpc2l0b3JfaWQiOiI4MTczNjM1ODMwNTQ0NDQ2MzU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 43bab1aeb444bde4b032ec89e248a5db761677b5d60749eff5fc80f8f4ffee28 |
| hovercard-subject-tag | issue:1234882829 |
| 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/5201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4c428af0d0ade953887ef7a6ca6417a9275602417ec29a64f4288eb3748b6194/coder/code-server/issues/5201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4c428af0d0ade953887ef7a6ca6417a9275602417ec29a64f4288eb3748b6194/coder/code-server/issues/5201 |
| og:image:alt | Is there an existing issue for this? 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aghasemi |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width