lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Problem with Indexing
Date Sat, 02 Oct 2010 01:41:04 GMT
How much memory are you giving the JVM? Try adding the -Xmx parameter to
your
java invocation. e.g. -Xmx512M

HTH
Erick

On Fri, Oct 1, 2010 at 7:20 AM, Jörg Agatz <joerg.agatz@googlemail.com>wrote:

> Hallo,
>
> i tryed to index a lot of XML. 700.000 to 800.000 but i becom a Error: and
> a
> Java heap Space error..
>
> i doo this:
>
> find -maxdepth 1 -mindepth 1 -name '*_SEARCH*' -exec java -jar
> /opt/solr/apache-solr-1.4.0/example/exampledocs/post.jar '{}' +
>
> and i get this:
>
> ...
> ...
> ...
> ...
> SimplePostTool: POSTing file
> e3a02194-cd21-11df-b405-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> e448d816-cd21-11df-8bf5-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> e4a5f00a-cd21-11df-8530-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> e503f452-cd21-11df-ac74-000c29e17baa_SEARCH.xml
> SimplePostTool: FATAL: Solr returned an error:
> Illegal_character_CTRLCHAR_code_27__at_rowcol_unknownsource_22110
>
>
> Or i get somethink likethis:
>
> ....
> ...
> ...
> ...
> ...
> SimplePostTool: POSTing file
> a501b15c-cc98-11df-a262-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> a6cef6de-cc98-11df-84f2-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> a7ae877c-cc98-11df-b4e4-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> a7ee32dc-cc98-11df-8b09-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> a954f8c2-cc98-11df-81f5-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> a9babbda-cc98-11df-bc9d-000c29e17baa_SEARCH.xml
> SimplePostTool: FATAL: Solr returned an error:
> Java_heap_space__javalangOutOfMemoryError_Java_heap_space_
> SimplePostTool: version 1.2
> SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8,
> other encodings are not currently supported
> SimplePostTool: POSTing files to http://localhost:8983/solr/update..
> SimplePostTool: POSTing file
> 5c4a2eb0-cc9f-11df-bbd1-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> 5caf02d6-cc9f-11df-92cc-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> 5d58b81c-cc9f-11df-958a-000c29e17baa_SEARCH.xml
> SimplePostTool: POSTing file
> 5e5b2998-cc9f-11df-9a3b-000c29e17baa_SEARCH.xml
> ...
> ...
> ...
>
>
> Maby you have an Idie for me?
>

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