I am using Tomcat ... 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 > > Apr 13, 2009 11:53:28 PM > org.apache.solr.handler.dataimport.JdbcDataSource$1 call > INFO: Creating a connection for entity slideshow with URL: > jdbc:mysql://localhost/mydb_development > Apr 13, 2009 11:53:29 PM > org.apache.solr.handler.dataimport.JdbcDataSource$1 call > INFO: Time taken for getConnection(): 319 > Apr 13, 2009 11:53:32 PM org.apache.solr.handler.dataimport.DataImporter > doFullImport > SEVERE: Full Import failed > org.apache.solr.handler.dataimport.DataImportHandlerException: > 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) > > > My Java version > $ java -version > java version "1.5.0_16" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284) > Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing) > > > Is that i need to install a new java version? > my db is also very huge ~15 GB > > please do the need full ... > > thanks > mani kumar > >