A recent project is to use SOLR to do full-text search and start elephant. Start with Tomcat 7 configuration, start normal, but encountered in the cookie in Chinese is an error. Helpless, for Tomcat 6, the result Dataimporthandler will be uninterrupted reported memory overflow error. Baidu Google, found that the data are very old, not to say that MySQL does not support a property, is to change the import code. During the period learned batchsize this attribute, then query official website. (The key moment, or the official website to force) MySQL settings ( red section), done.
Batchsize= "-1" user= "root" password= "root"/>
Http://wiki.apache.org/solr/DataImportHandlerFaq?highlight=%28responseBuffering%29#I.27m_using_ Dataimporthandler_with_a_mysql
http://blog.csdn.net/leijuly/article/details/7966810
[Turn]SOLR dataimporthandler resolve MySQL table import memory overflow issue