You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2016/06/07 15:38:21 UTC

[jira] [Commented] (SOLR-9192) why not set batchSize = -1 in JdbcDataSource for DIH

    [ https://issues.apache.org/jira/browse/SOLR-9192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318699#comment-15318699 ] 

Erick Erickson commented on SOLR-9192:
--------------------------------------

Please add more details here. IIRC, setting batch size for some jdbc drivers is the right thing to do, but for others it isn't. I suspect you're using MySQL?

And please in future raise this kind of question on the user's list _before_ raising a JIRA. We try to raise JIRAs to track code changes once it's agreed that something needs to change in Solr.

> why not set batchSize = -1 in JdbcDataSource for DIH
> ----------------------------------------------------
>
>                 Key: SOLR-9192
>                 URL: https://issues.apache.org/jira/browse/SOLR-9192
>             Project: Solr
>          Issue Type: Wish
>            Reporter: luyee
>
> the default value of  batchSize is 500(FETCH_SIZE) ; actually,set batchSize = -1  could avoid OOM ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org