Github user bbende commented on the issue:
https://github.com/apache/nifi/pull/2668
@ottobackwards I identified the leaks using VisualVM to analyze the heap,
and can now see that the processors and class loader references are no longer
in the heap after these changes---
