Skip to content

Memory leak of JSV schemas cache #2

@dax

Description

@dax

As describe in this JSV issue garycourt/JSV#42, an Environment cache schemas it validate in its _schemas attribute and thus a new JSONSchema is created a kept in memory every time we call contracts.validate.

contracts should either create a new Environment every time it validates a schema, either cleanup the Environment schemas cache.

WDYT ?

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