If you want to retrieve a huge volume of rows you will end up with an
OutOfMemoryException due to the jdbc driver. Setting batchSize to -1 in your
data-config.xml (that internally will set it to Integer.MIN_VALUE) will make
the query to be executed in streaming, avoiding the memory exception.

Joel Nylund wrote:
> 
> Hi,
> 
> it looks like from looking at the code the default is 500, is the  
> recommended setting for this?
> 
> Has anyone notice any significant performance/memory tradeoffs by  
> making this much bigger?
> 
> thanks
> Joel
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/suggestions-for-DIH-batchSize-tp26894539p26897636.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to