Skip to content

Memory leak on Pop os 22.04 #598

@knobz12

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)

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