Appear to have memory leak in browser.open
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 336
- PR merge metrics
- No merged PRs in 30d
Description
(Really nice product, btw - thanks for your effort).
I have an operation in which I set a value via 'post' then wait for the web page to reflect the response. Inside a while loop I place a call to browser.open(url), check, then sleep for 5-seconds. I've profiled this with psutils, measuring memory use per call, each call increases my memory use by about 1Mb until eventually bringing down my application.
Cheers
Contributor guide
Research direction
Start by reproducing the reported loop using browser.open(url), a prior post, a 5-second sleep, and psutils memory measurements. Trace the browser.open entry point and compare memory across repeated calls; done means the reproduction no longer grows memory by about 1 MB per call, with any regression coverage that the repository supports.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100