Skip to content

RELATIVE_BASE memory leak #985

Open
Open
@styleex

Description

@styleex

Minimal code:

from dateparser import parse

while True:
    ret = parse('24 august', settings={'RELATIVE_BASE': datetime.now()})

Since for each new relative_base, a new settings object is created and cached, memory grows VERY quickly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions