lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: DataImporter : Java heap space
Date Mon, 13 Apr 2009 18:42:49 GMT
On Mon, Apr 13, 2009 at 11:57 PM, Mani Kumar <manikumarchauhan@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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message