#762 : Fix possible OutOfMemory issue during solr indexing for large catalogs