mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-08-26 22:49:51 +02:00
AnalysisContainer no longer held in memory by PluginData objects.
Since PluginData objects are more persistent than AnalysisContainer, objects related to the each analysis can not be freed until the next analysis has been performed, because a reference was held in each PluginData object. Change: set the reference to point to null in a finally block after getServerData call. AnalysisContainer can now be freed by GC at any time Affected issues: #685
This commit is contained in:
parent
d28e20bf9a
commit
f846bd5b0e
|
@ -118,6 +118,7 @@ public class AnalysisPluginsTabContentCreator {
|
|||
Log.toLog(AnalysisPluginsTabContentCreator.class, e);
|
||||
} finally {
|
||||
Benchmark.stop("Analysis", "Analysis: Source " + source.getSourcePlugin());
|
||||
source.setAnalysisData(null);
|
||||
}
|
||||
});
|
||||
return containers;
|
||||
|
|
Loading…
Reference in New Issue
Block a user