mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Reset keyword search current results tracking at the end of keyword search ingest (minor memory optimization)
This commit is contained in:
parent
675c0357af
commit
c89ec83ade
@ -764,9 +764,12 @@ public final class KeywordSearchIngestService implements IngestServiceFsContent
|
||||
if (finalRun) {
|
||||
logger.log(Level.INFO, "The final searcher in this ingest done.");
|
||||
finalSearcherDone = true;
|
||||
//keywords.clear();
|
||||
//keywordLists.clear();
|
||||
//keywordToList.clear();
|
||||
keywords.clear();
|
||||
keywordLists.clear();
|
||||
keywordToList.clear();
|
||||
//reset current resuls earlier to potentially garbage collect sooner
|
||||
currentResults = new HashMap<Keyword, List<ContentHit>>();
|
||||
|
||||
managerProxy.postMessage(IngestMessage.createMessage(++messageID, MessageType.INFO, KeywordSearchIngestService.instance, "Completed"));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user