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