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 ?
As describe in this JSV issue garycourt/JSV#42, an
Environmentcache schemas it validate in its_schemasattribute and thus a newJSONSchemais created a kept in memory every time we callcontracts.validate.contractsshould either create a newEnvironmentevery time it validates a schema, either cleanup theEnvironmentschemas cache.WDYT ?