On Mon, Apr 13, 2009 at 11:57 PM, Mani Kumar <manikumarchau...@gmail.com>wrote:
> Hi All, > I am trying to setup a Solr instance on my macbook. > > I get following errors when m trying to do a full db import ... please help > me on this > > java.lang.OutOfMemoryError: Java heap space > at > > org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:400) > at > > org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:221) > at > org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:164) > at > > org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:312) > at > > org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:370) > at > > org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:351) > Caused by: java.lang.OutOfMemoryError: Java heap space > at com.mysql.jdbc.Buffer.<init>(Buffer.java:58) > at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1444) > at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2840) > > How much heap size have you allocated to the jvm? Also see http://wiki.apache.org/solr/DataImportHandlerFaq -- Regards, Shalin Shekhar Mangar.