Added code to force a GC cycle before loading the next dataset.