SimpleClans

SimpleClans

467k Downloads

Please close your JDBC statements.

Psithief opened this issue ยท 0 comments

commented

You appear to be leaving your JDBC statements open. Until the connection is closed, all of these statements remain in memory in the JDBC driver. As you appear to keep the connection open; this causes a small but constant memory leak for every query executed.

You do not need to close result sets, as closing the statement will automatically close a result set.