solr oracle DIH outofmemory -


i use solr4.5.try import 7 million rows data solr. database oracle.the db-data-config.xml is:

<dataconfig> <datasource driver="oracle.jdbc.oracledriver" url="jdbc:oracle:thin:@localhost:1521:orcl2" batchsize="700" user="solrdata" password="solrdata" />    <document>      <entity name="claim" query="select * td_performanc_status_monitor">      </entity>    </document>  </dataconfig> 

i had try set batchsize,but failed.i don't know why "batchsize" not work.maybe used wrong xml. way, start solr use command"java -jar start.jar".

i found page:http://lucene.472066.n3.nabble.com/dih-import-quot-out-of-memory-quot-problem-batchsize-and-autocommit-not-working-td528211.html

and placed jdbc driver d:\solr-4.5.0\example\solr-webapp\webapp\web-inf\lib still didn't work. please tell me how index data. thank you.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -