Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N node-http-proxy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 482
    • Issues 482
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 102
    • Merge requests 102
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • http ... PARTY!
  • node-http-proxy
  • Merge requests
  • !249

Possible memory leak?

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/booo/master into master May 21, 2012
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: booo

Do not keep a reference of the req object through the req.headers object. Create a copy of the headers object instead.

Could you maybe check this? I'm trying to use node-http-proxy in a production env. but in 30 minutes and 200 req/s the app is out of memory. I tried to profile the app with node-webkit-agent. I suspect the following line to be part of the problem. I'm not 100% sure...

Best Regards Philipp

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/booo/master