Environment: Solr 5.4.1 I am facing OOMs when batchupdating SolrJ. I am seeing approx 30'000(!) SolrInputDocument instances, although my batchsize is 100. I.e. I call solrClient.add( documents ) for every 100 documents only. So I'd expect to see at most 100 SolrInputDocument's in memory at any moment UNLESS a) solrClient.add is "asynchronous" in its nature. Then QueryResponse would be an async-result? or b) SolrJ is spooling the documents in client-side
What might be going wrong? Thx for your advices Clemens