jmcarp / jmcarp/robobrowser

Appear to have memory leak in browser.open

Open
#74 3 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.