added runtime.gc() to IndexBuilder