Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak on Pop os 22.04 #598

Open
knobz12 opened this issue Mar 5, 2025 · 0 comments
Open

Memory leak on Pop os 22.04 #598

knobz12 opened this issue Mar 5, 2025 · 0 comments

Comments

@knobz12
Copy link

knobz12 commented Mar 5, 2025

Using the basic example multiple times seems to just use more and more memory without releasing it until the program is exited. Am I missing something or is it a problem with the module?

from requests_html import HTMLSession
import time
session = HTMLSession()

while True:
  r = session.get("https://bits.swebowl.se/match-detail?matchid=3274195")
  r.html.render()
  r.html.find('.hide-on-mobile.center-block.top-space')
  time.sleep(60)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant