Visitar URL original
Memory leak on Pop os 22.04 · Issue #598 · psf/requests-html · GitHub
Skip to content

Memory leak on Pop os 22.04 #598

Open

Description

@knobz12

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions