[
https://issues.apache.org/jira/browse/SENTRY-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Na Li reassigned SENTRY-1778:
-----------------------------
Assignee: (was: Na Li)
> Close query as soon as it is done
> ---------------------------------
>
> Key: SENTRY-1778
> URL: https://issues.apache.org/jira/browse/SENTRY-1778
> Project: Sentry
> Issue Type: Improvement
> Components: Sentry
> Affects Versions: 1.8.0, 2.0.0
> Reporter: Na Li
> Priority: Minor
> Labels: bite-sized, newbie
>
> Make sure we close all query results after we have finished with them.
> Failure to do so will result in significant memory leaks in your application.
> mentioned in
> http://www.datanucleus.org/products/accessplatform_4_1/jdo/performance_tuning.html
> Since we always close the transaction, and closing transaction will close the
> query, the memory leak without this change should not be significant. This is
> why this issue is not high priority. On the other hand, closing query result
> sooner should not have side effect.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)