Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

nwalters512/sentry-domain-memory-leak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentry-domain-memory-leak

This repo contains a reproduction of an issue related to getsentry/sentry-javascript#7031.

Reproduction instructions

  • Clone the repo and run yarn install
  • Run docker pull ubuntu
  • Run node --inspect index.js
  • Attach a debugger and look at the memory consumption; it should be ~10MB.
  • Make a request to http://localhost:80/ in your browser.
  • Look at the memory consumption in the debugger; it should be about 300MB and should stay that way even after manually triggering a garbage collection.
  • Stop the server, remove all Sentry-related code from index.js, and repeat the above steps. Note that memory consumption should fall back to ~10MB either immediately or after triggering a garbage collection.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published