-
Bug
-
Resolution: Done
-
Major
-
3.0.5.Final
-
None
-
None
Method
public void close()
performs "Reset the defaults" if it decides to cache the prepared statement. Unfortunately it does not clear parameters of the underlying prepared statement. Depending on the statement the parameters can be quite large. If the statement is not used very often and remains in the cache, all those parameters contribute to the memory footprint of the running process and can even lead to an OOM.