[Bug 560542] [Py4J] engine termination does not fully clean up references to runtime
Bugzilla Link | 560542 |
Status | NEW |
Importance | P3 normal |
Reported | Feb 26, 2020 05:19 EDT |
Modified | Feb 26, 2020 06:25 EDT |
Version | 0.7.0 |
See also | Gerrit change https://git.eclipse.org/r/158397, Git commit 8664e0d2 |
Description
When using py4J as engine for unit tests, we do keep references on the terminated scriptengine. As the engine does not clear its references to the python runtime, these parts (and all of any cached data in the python proxy) cannot be garbage collected.
When an engine is terminated we should clean up any references to thy py4j connector to allow garbage collection for those components.