JFreeChart implementation is leaking memory
The major flaw in Sysdyn JFreeChart implementation is that it creates JFreeChart objects in DB queries. These DB queries and query results are not designed to be re-used, but the query results are cached anyway (Simantics DB does not have API for single use queries). The end result is that all displayed charts are kept in query cache, until at some point query cache is purged.
At the moment the best solution is to null all possible object references in available dispose methods, so that we keep minimum amount of objects stuck in query cache.
Edited by Marko Luukkainen