[Turn]SOLR dataimporthandler resolve MySQL table import memory overflow issue

Source: Internet
Author: User
Tags solr

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.