René's URL Explorer Experiment


Title: @sentry/node memory leaks on node 10.13.0 · Issue #1762 · getsentry/sentry-javascript · GitHub

Open Graph Title: @sentry/node memory leaks on node 10.13.0 · Issue #1762 · getsentry/sentry-javascript

X Title: @sentry/node memory leaks on node 10.13.0 · Issue #1762 · getsentry/sentry-javascript

Description: Package + Version @sentry/browser @sentry/node Version: 4.3.4 Description I tried integrating sentry into ah next.js project. I tried it using this template https://github.com/sheerun/next.js/tree/with-sentry-fix/examples/with-sentry and...

Open Graph Description: Package + Version @sentry/browser @sentry/node Version: 4.3.4 Description I tried integrating sentry into ah next.js project. I tried it using this template https://github.com/sheerun/next.js/tree/...

X Description: Package + Version @sentry/browser @sentry/node Version: 4.3.4 Description I tried integrating sentry into ah next.js project. I tried it using this template https://github.com/sheerun/next.js/tree/...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/1762

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@sentry/node memory leaks on node 10.13.0","articleBody":"\r\n## Package + Version\r\n\r\n- [x] `@sentry/browser`\r\n- [x] `@sentry/node`\r\n\r\n### Version:\r\n\r\n```\r\n4.3.4\r\n```\r\n\r\n## Description\r\n\r\nI tried integrating sentry into ah next.js project. I tried it using this template https://github.com/sheerun/next.js/tree/with-sentry-fix/examples/with-sentry and discovered what seems to be a memory-leak in sentry. If you check out this project and add memwatch\r\n\r\n```\r\nif (!dev) {\r\n  memwatch.on(\"leak\", info => {\r\n    console.log(\"memwatch::leak\");\r\n    console.error(info);\r\n  });\r\n\r\n  memwatch.on(\"stats\", stats => {\r\n    console.log(\"memwatch::stats\");\r\n    console.error(Util.inspect(stats, true, null));\r\n  });\r\n}\r\n```\r\nand bombard the server with requests, i requested the following ressources: \r\n\r\n```\r\n    \"/\",\r\n    \"/_next/static/r1zovjaZ1TujaA0hJEp91/pages/_app.js\",\r\n    \"/_next/static/r1zovjaZ1TujaA0hJEp91/pages/_error.js\",\r\n    \"/_next/static/r1zovjaZ1TujaA0hJEp91/pages/index.js\",\r\n    \"/_next/static/runtime/main-1eaa6d1d0c8e7d048efd.js\",\r\n    \"/_next/static/chunks/commons.b34d260fee0c4a698139.js\",\r\n    \"/_next/static/runtime/webpack-42652fa8b82c329c0559.js\"\r\n```\r\n\r\nWith this the memory-usage grows endlessly for me. As soon as i remove the request and errorHandler from server.js the memory-leak stops. So it seems to be connected to those 2","author":{"url":"https://github.com/abraxxas","@type":"Person","name":"abraxxas"},"datePublished":"2018-11-22T12:03:54Z","url":"https://github.com/getsentry/sentry-javascript/issues/1762"}

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:5c50b8cb-0ee6-ddf1-5771-75fccc6c4f6c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDE80:1425F4:20548B:2D4D40:6B0438C4
html-safe-noncecfac7052f66f81280a9e48cc9d8fca32a7ed1f50ab2cd86d03ee81be15fce215
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTgwOjE0MjVGNDoyMDU0OEI6MkQ0RDQwOjZCMDQzOEM0IiwidmlzaXRvcl9pZCI6Ijk3OTk2OTMyMzc4NTUzMzYzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac565bfde5cd91c0c02709d1f0d82aba7ed204ecc0630be33024f2ffc9b3015dc3
hovercard-subject-tagissue:383506222
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/getsentry/sentry-javascript/1762/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3553098a47634338ccd8270168865bde6d2d53f31dcc9198afaa349276522c89/getsentry/sentry-javascript/issues/1762
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3553098a47634338ccd8270168865bde6d2d53f31dcc9198afaa349276522c89/getsentry/sentry-javascript/issues/1762
og:image:altPackage + Version @sentry/browser @sentry/node Version: 4.3.4 Description I tried integrating sentry into ah next.js project. I tried it using this template https://github.com/sheerun/next.js/tree/...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabraxxas
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
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
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/1762#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F1762
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%2Fgetsentry%2Fsentry-javascript%2Fissues%2F1762
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=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/1762
Reloadhttps://github.com/getsentry/sentry-javascript/issues/1762
Reloadhttps://github.com/getsentry/sentry-javascript/issues/1762
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/1762
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/1762
#2108https://github.com/getsentry/sentry-javascript/pull/2108
@sentry/node memory leaks on node 10.13.0https://github.com/getsentry/sentry-javascript/issues/1762#top
#2108https://github.com/getsentry/sentry-javascript/pull/2108
https://github.com/BYK
https://github.com/abraxxas
abraxxashttps://github.com/abraxxas
on Nov 22, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issue-383506222
https://github.com/sheerun/next.js/tree/with-sentry-fix/examples/with-sentryhttps://github.com/sheerun/next.js/tree/with-sentry-fix/examples/with-sentry
Nexthttps://github.com/getsentry/sentry-javascript/issues/1762?timeline_page=1
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Nov 29, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-442776870
@abraxxashttps://github.com/abraxxas
kamilogorekhttps://github.com/kamilogorek
Status: Blockedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Blocked%22
Status: Needs Reproductionhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Reproduction%22
on Nov 29, 2018https://github.com/getsentry/sentry-javascript/issues/1762#event-1994770616
https://github.com/abraxxas
abraxxashttps://github.com/abraxxas
on Nov 29, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-442778751
@kamilogorekhttps://github.com/kamilogorek
https://github.com/sheerun/next.js/tree/with-sentry-fix/examples/with-sentryhttps://github.com/sheerun/next.js/tree/with-sentry-fix/examples/with-sentry
https://www.simonholywell.com/post/2015/06/parallel-benchmark-many-urls-with-apachebench/https://www.simonholywell.com/post/2015/06/parallel-benchmark-many-urls-with-apachebench/
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Nov 29, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-442808463
@abraxxashttps://github.com/abraxxas
kamilogorekhttps://github.com/kamilogorek
Type: Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
Status: Confirmedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Confirmed%22
Status: Blockedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Blocked%22
Status: Needs Reproductionhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Reproduction%22
on Nov 29, 2018https://github.com/getsentry/sentry-javascript/issues/1762#event-1995033488
https://github.com/abraxxas
abraxxashttps://github.com/abraxxas
on Nov 29, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-442809148
@kamilogorekhttps://github.com/kamilogorek
…https://github.com/getsentry/sentry-javascript/issues/1762
@abraxxashttps://github.com/abraxxas
https://github.com/abraxxashttps://github.com/abraxxas
https://streamable.com/bad9jhttps://streamable.com/bad9j
#1762 (comment)https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-442804709
https://github.com/notifications/unsubscribe-auth/AIbrNlgPjPd5Jra1aahR-Dthf7XvbCexks5uz8jjgaJpZM4YvOA2https://github.com/notifications/unsubscribe-auth/AIbrNlgPjPd5Jra1aahR-Dthf7XvbCexks5uz8jjgaJpZM4YvOA2
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Nov 29, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-442814550
@abraxxashttps://github.com/abraxxas
#1762 (comment)https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-444126990
https://github.com/tpbowden
tpbowdenhttps://github.com/tpbowden
on Dec 2, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-443505096
@kamilogorekhttps://github.com/kamilogorek
sentry-javascript/packages/node/src/handlers.tshttps://github.com/getsentry/sentry-javascript/blob/c27e1e32d88cc03c8474fcb1e12d5c9a2055a150/packages/node/src/handlers.ts#L233
c27e1e3https://github.com/getsentry/sentry-javascript/commit/c27e1e32d88cc03c8474fcb1e12d5c9a2055a150
https://user-images.githubusercontent.com/1159553/49339918-b1ffe200-f630-11e8-9767-08acae21a083.png
#1773https://github.com/getsentry/sentry-javascript/issues/1773
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Dec 4, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-444126990
@abraxxashttps://github.com/abraxxas
@tpbowdenhttps://github.com/tpbowden
nodejs/node#23862https://github.com/nodejs/node/issues/23862
https://github.com/tpbowden
tpbowdenhttps://github.com/tpbowden
on Dec 10, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-446010982
@kamilogorekhttps://github.com/kamilogorek
https://github.com/alinchican
alinchicanhttps://github.com/alinchican
on Dec 17, 2018https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-448039876
PM2https://github.com/Unitech/pm2
https://pm2.io/doc/en/runtime/features/memory-limit/#max-memory-threshold-auto-reloadhttps://pm2.io/doc/en/runtime/features/memory-limit/#max-memory-threshold-auto-reload
https://github.com/BYK
BYKhttps://github.com/BYK
on Jun 20, 2019https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-503987626
@tstirrat15https://github.com/tstirrat15
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Jun 20, 2019https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-504027766
@tstirrat15https://github.com/tstirrat15
https://github.com/tstirrat15
tstirrat15https://github.com/tstirrat15
on Jun 20, 2019https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-504031265
another runhttps://upload.clinicjs.org/public/a96340e1e6f82b547de802ff4b0e67d3a141c164dfab94192693fc52efe5b9eb/18037.clinic-doctor.html
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Jun 20, 2019https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-504056360
https://github.com/tstirrat15
tstirrat15https://github.com/tstirrat15
on Jun 20, 2019https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-504063532
https://github.com/Madumo
Madumohttps://github.com/Madumo
on Mar 23, 2020https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-602666200
@tpbowdenhttps://github.com/tpbowden
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Mar 23, 2020https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-602726405
https://github.com/Madumo
Madumohttps://github.com/Madumo
on Mar 23, 2020https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-602822126
@kamilogorekhttps://github.com/kamilogorek
https://user-images.githubusercontent.com/2637675/77357462-96858280-6d1e-11ea-986c-fd83288749ac.png
https://github.com/Madumo
Madumohttps://github.com/Madumo
on Mar 23, 2020https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-602824891
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Mar 24, 2020https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-603236254
sentry-javascript/packages/node/src/handlers.tshttps://github.com/getsentry/sentry-javascript/blob/fd26d9fa273002502706b03fc1a9a46864cd8440/packages/node/src/handlers.ts#L319-L328
fd26d9fhttps://github.com/getsentry/sentry-javascript/commit/fd26d9fa273002502706b03fc1a9a46864cd8440
sentry-javascript/packages/hub/src/hub.tshttps://github.com/getsentry/sentry-javascript/blob/fd26d9fa273002502706b03fc1a9a46864cd8440/packages/hub/src/hub.ts#L442-L457
fd26d9fhttps://github.com/getsentry/sentry-javascript/commit/fd26d9fa273002502706b03fc1a9a46864cd8440
sentry-javascript/packages/hub/src/hub.tshttps://github.com/getsentry/sentry-javascript/blob/fd26d9fa273002502706b03fc1a9a46864cd8440/packages/hub/src/hub.ts#L463-L488
fd26d9fhttps://github.com/getsentry/sentry-javascript/commit/fd26d9fa273002502706b03fc1a9a46864cd8440
sentry-javascript/packages/hub/src/hub.tshttps://github.com/getsentry/sentry-javascript/blob/fd26d9fa273002502706b03fc1a9a46864cd8440/packages/hub/src/hub.ts#L479
fd26d9fhttps://github.com/getsentry/sentry-javascript/commit/fd26d9fa273002502706b03fc1a9a46864cd8440
https://github.com/Madumo
Madumohttps://github.com/Madumo
on Mar 24, 2020https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-603345577
sentry-javascript/packages/hub/src/hub.tshttps://github.com/getsentry/sentry-javascript/blob/fd26d9fa273002502706b03fc1a9a46864cd8440/packages/hub/src/hub.ts#L465-L468
fd26d9fhttps://github.com/getsentry/sentry-javascript/commit/fd26d9fa273002502706b03fc1a9a46864cd8440
sentry-javascript/packages/utils/src/misc.tshttps://github.com/getsentry/sentry-javascript/blob/fd26d9fa273002502706b03fc1a9a46864cd8440/packages/utils/src/misc.ts#L28-L31
fd26d9fhttps://github.com/getsentry/sentry-javascript/commit/fd26d9fa273002502706b03fc1a9a46864cd8440
https://user-images.githubusercontent.com/2637675/77450802-2af8ef00-6dca-11ea-883e-32971dd3a853.png
https://user-images.githubusercontent.com/2637675/77450815-30563980-6dca-11ea-9989-5bc8b2b329b0.png
https://user-images.githubusercontent.com/2637675/77450830-36e4b100-6dca-11ea-9459-6ed801c7c0c2.png
https://user-images.githubusercontent.com/2637675/77450838-3a783800-6dca-11ea-8b4b-e20808042cd3.png
https://github.com/Madumo
Madumohttps://github.com/Madumo
on Mar 24, 2020https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-603370379
https://github.com/wojtekelvis
wojtekelvishttps://github.com/wojtekelvis
on May 21, 2022https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-1133771395
https://github.com/wojtekelvis
wojtekelvishttps://github.com/wojtekelvis
on May 21, 2022https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-1133772751
https://github.com/lforst
lforsthttps://github.com/lforst
on May 23, 2022https://github.com/getsentry/sentry-javascript/issues/1762#issuecomment-1134266435
@wojtekelvishttps://github.com/wojtekelvis
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/1762
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/1762
BYKhttps://github.com/BYK
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.