There are two possible memory leaks in PubSubPersistenceManager.
In the function updateNode, the prepared statement needs to be closed pstmt.close(); on line 301.
In the function loadNodes, the prepared statement is not closed. on line 521 pstmt.close().
Reading the JIRA issue tracker i am suppose to add these add these as threads before opening a defect, is that correct?