free map
This commit is contained in:
parent
477dd5e142
commit
3c4715b8a4
@ -467,6 +467,8 @@ func (oc *Collection) populateItems(ctx context.Context, errs *fault.Bus) {
|
||||
|
||||
wg.Wait()
|
||||
|
||||
// free up memory
|
||||
oc.driveItems = nil
|
||||
oc.reportAsCompleted(ctx, int(stats.itemsFound), int(stats.itemsRead), stats.byteCount)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user