partial fix for #7178 GC overhead limit hit when reindexing large code base with 0.12-rc5