#762 : Fix possible OutOfMemory issue during solr indexing for large catalogs
(cherry picked from commit 1f8ba1c)