Memory Leak #2214
Labels
p/medium
reviewed-medium
Medium bug was reviewed & kept as medium
t/bug
Something isn't working
triaged
Describe the bug
There appears to be a memory leak with spectral. The resident memory on the machine continues to rise with each validation, and eventually runs out of space and crashes.
To Reproduce
Repeatedly lint a document with
spectral.run()
in a loop.Here is the example code snippet that was used:
Expected behavior
We would expect resident memory to be cleared so the app doesn't crash.
Screenshots
See
RES
where the residential memory continues to rise. These were captured withhtop
.Environment (remove any that are not applicable):
The text was updated successfully, but these errors were encountered: