mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-24 06:36:12 +00:00
Fix possible memory leak (encountered in h1, see r7255)
* ToeThread.java
run() - set local variable curi=null when finished with it, because the jvm seems to be holding on to it even after the containing block is finished
This commit is contained in:
@@ -187,6 +187,7 @@ implements MultiReporter, ProgressStatisticsReporter,
|
||||
controller.getFrontier().endDisposition();
|
||||
setCurrentCuri(null);
|
||||
}
|
||||
curi = null;
|
||||
|
||||
setStep(Step.FINISHING_PROCESS, null);
|
||||
lastFinishTime = System.currentTimeMillis();
|
||||
|
||||
Reference in New Issue
Block a user