René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@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-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7ef88bf7-fe94-ce5b-d9a1-4bc51f0b7064
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id96A0:17FB7:224F838:2B884CB:6B01B397
html-safe-nonce4b0e95eade819c8a40dfa8f747790ee5cf75c31d870083d1a46b5f848b634e1f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkEwOjE3RkI3OjIyNEY4Mzg6MkI4ODRDQjo2QjAxQjM5NyIsInZpc2l0b3JfaWQiOiI4MTczNjM1ODMwNTQ0NDQ2MzU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac43bab1aeb444bde4b032ec89e248a5db761677b5d60749eff5fc80f8f4ffee28
hovercard-subject-tagissue:1234882829
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/5201/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4c428af0d0ade953887ef7a6ca6417a9275602417ec29a64f4288eb3748b6194/coder/code-server/issues/5201
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4c428af0d0ade953887ef7a6ca6417a9275602417ec29a64f4288eb3748b6194/coder/code-server/issues/5201
og:image:altIs 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaghasemi
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/5201#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F5201
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F5201
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/5201
Reloadhttps://github.com/coder/code-server/issues/5201
Reloadhttps://github.com/coder/code-server/issues/5201
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests17 (17)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5201
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5201
[Bug]: Memory leak?https://github.com/coder/code-server/issues/5201#top
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
Backloghttps://github.com/coder/code-server/milestone/23
https://github.com/aghasemi
aghasemihttps://github.com/aghasemi
on May 13, 2022https://github.com/coder/code-server/issues/5201#issue-1234882829
Nexthttps://github.com/coder/code-server/issues/5201?timeline_page=1
aghasemihttps://github.com/aghasemi
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
on May 13, 2022https://github.com/coder/code-server/issues/5201#event-6603710244
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on May 13, 2022https://github.com/coder/code-server/issues/5201#issuecomment-1126030959
https://github.com/jsjoeio
jsjoeiohttps://github.com/jsjoeio
on May 13, 2022https://github.com/coder/code-server/issues/5201#issuecomment-1126238941
jsjoeiohttps://github.com/jsjoeio
waiting-for-infoWaiting for more information from submitterhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22waiting-for-info%22
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
on May 13, 2022https://github.com/coder/code-server/issues/5201#event-6607060822
https://github.com/aghasemi
aghasemihttps://github.com/aghasemi
on May 14, 2022https://github.com/coder/code-server/issues/5201#issuecomment-1126789454
jsjoeiohttps://github.com/jsjoeio
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
waiting-for-infoWaiting for more information from submitterhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22waiting-for-info%22
on May 19, 2022https://github.com/coder/code-server/issues/5201#event-6646091385
jsjoeiohttps://github.com/jsjoeio
Backloghttps://github.com/coder/code-server/milestone/23
on May 19, 2022https://github.com/coder/code-server/issues/5201#event-6646091583
https://github.com/LaCocoRoco
LaCocoRocohttps://github.com/LaCocoRoco
on May 23, 2022https://github.com/coder/code-server/issues/5201#issuecomment-1135105489
https://github.com/aghasemi
aghasemihttps://github.com/aghasemi
on May 23, 2022https://github.com/coder/code-server/issues/5201#issuecomment-1135115324
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on May 24, 2022https://github.com/coder/code-server/issues/5201#issuecomment-1135438491
https://www.npmjs.com/package/heapdumphttps://www.npmjs.com/package/heapdump
https://github.com/LaCocoRoco
LaCocoRocohttps://github.com/LaCocoRoco
on May 25, 2022https://github.com/coder/code-server/issues/5201#issuecomment-1137753976
https://github.com/aghasemi
aghasemihttps://github.com/aghasemi
on Jun 5, 2022https://github.com/coder/code-server/issues/5201#issuecomment-1146853499
https://github.com/LaCocoRoco
LaCocoRocohttps://github.com/LaCocoRoco
on Jun 6, 2022https://github.com/coder/code-server/issues/5201#issuecomment-1147931642
https://github.com/Tzxhy
Tzxhyhttps://github.com/Tzxhy
on Jul 19, 2023https://github.com/coder/code-server/issues/5201#issuecomment-1641650631
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Jul 19, 2023https://github.com/coder/code-server/issues/5201#issuecomment-1642686872
https://github.com/Tzxhy
Tzxhyhttps://github.com/Tzxhy
on Jul 20, 2023https://github.com/coder/code-server/issues/5201#issuecomment-1643026312
https://github.com/Anaxagoras-bc
Anaxagoras-bchttps://github.com/Anaxagoras-bc
on Jan 29, 2024https://github.com/coder/code-server/issues/5201#issuecomment-1915181224
https://github.com/1c7
1c7https://github.com/1c7
on Sep 2, 2025https://github.com/coder/code-server/issues/5201#issuecomment-3245178476
https://private-user-images.githubusercontent.com/1804755/484573010-6cc55c61-df80-4cfb-b870-63665d666c79.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNzM5MjQsIm5iZiI6MTc5NTI3MzYyNCwicGF0aCI6Ii8xODA0NzU1LzQ4NDU3MzAxMC02Y2M1NWM2MS1kZjgwLTRjZmItYjg3MC02MzY2NWQ2NjZjNzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMTUwNzA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTlkMGZiOTc4ZTZjZmQ5Mzk2ZTRlZjM2OGFmYWY5YjY0Mjk5YThlYWMwZjlkODA2OWVmNGJkNTkxNjRiYjY4OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.sNV2kTmFEx1VNdENrgLSSawiNr8bkOnA2QvEffopYS8
https://private-user-images.githubusercontent.com/1804755/484580001-a3523509-fc8d-48d9-b7b9-813b6b83895e.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNzM5MjQsIm5iZiI6MTc5NTI3MzYyNCwicGF0aCI6Ii8xODA0NzU1LzQ4NDU4MDAwMS1hMzUyMzUwOS1mYzhkLTQ4ZDktYjdiOS04MTNiNmI4Mzg5NWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMTUwNzA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjZlY2YzODZmMzVlYzUzYzY0OTc5YmE0YjNhN2MyZTg5M2EyYWEzMGI2MDc4ZTI4ZmM0MjA0MDQyMTYxNTkzYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.cPpMWLZeo0KfpCSRrvk4mNesMYfwVWmP8q-ksv-LpEQ
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Sep 3, 2025https://github.com/coder/code-server/issues/5201#issuecomment-3250772870
https://github.com/1c7
1c7https://github.com/1c7
on Sep 4, 2025https://github.com/coder/code-server/issues/5201#issuecomment-3251475273
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Sep 6, 2025https://github.com/coder/code-server/issues/5201#issuecomment-3260218878
https://github.com/1c7
1c7https://github.com/1c7
on Sep 6, 2025https://github.com/coder/code-server/issues/5201#issuecomment-3260249030
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Sep 6, 2025https://github.com/coder/code-server/issues/5201#issuecomment-3260282445
https://github.com/1c7
1c7https://github.com/1c7
on Sep 6, 2025https://github.com/coder/code-server/issues/5201#issuecomment-3260379447
https://github.com/bluegoosemedia
bluegoosemediahttps://github.com/bluegoosemedia
on Sep 17, 2025https://github.com/coder/code-server/issues/5201#issuecomment-3304156325
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Sep 17, 2025https://github.com/coder/code-server/issues/5201#issuecomment-3304783780
https://code.visualstudio.com/docs/nodejs/profilinghttps://code.visualstudio.com/docs/nodejs/profiling
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/5201
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5201
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
Backloghttps://github.com/coder/code-server/milestone/23
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.