sbabcoc / JUnit-Foundation

JUnit Foundation is a lightweight collection of JUnit watchers, interfaces, and static utility classes that supplement and augment the functionality provided by the JUnit API.
Apache License 2.0
22 stars 6 forks source link

ArtifactCollector class is retaining references to ArtifactCollector, Description, and test class instance objects #98

Closed sbabcoc closed 3 years ago

sbabcoc commented 3 years ago

These references are collected in the WATCHER_MAP static field. These should be released at the end of each atomic test to avoid the accumulation of objects that can exhaust available memory.

sbabcoc commented 3 years ago

Resolved by #100