debrief / debrief

The Open Source workbench for Maritime Analysis
http://www.debrief.info
Eclipse Public License 1.0
24 stars 25 forks source link

Check for resource leaks #2060

Open IanMayo opened 7 years ago

IanMayo commented 7 years ago

I think it may be worth doing a check for Resource Leaks.

  1. We should perform a general check (by running through the Debrief tutorial)
  2. We should also do specific checks in: 2.1 our new zone charts 2.2 our new narrative viewer.
theanuradha commented 7 years ago

@IanMayo Seems CorePlugin init an extension for EarthModel where it use geotools. inside geotools it keep open/live connection throughout the application lifecycle. Maybe this is needed to Debrief functionality where I have very little domain knowledge. Still as a result memory keep occupied by hsql objects as geotools epfs db keep alive
image

theanuradha commented 7 years ago

image DB keep alive as connection never close inside geotools after CRS.decode get called inside GeoCalculatorAdapter