Closed newmanju closed 4 years ago
This issue has been resolved in OC SVN commit 26499:
Parts of OC were found leaving a ResultSet
object open after executing an Alfresco search query. This commit adds in several try...finally
blocks to ensure that ResultSet
s are explicitly
closed after use.
CR: dvora, aking
Throughout
2.alfrescoEmb
there are occurrences ofResultSet
objects, which are returned from search service queries, that are not being closed. We need to ensure these are being closed to avoid potential disk space and memory leak issues. To properly close these, wrap the search query code in a try block and close theResultSet
object in a finally block.