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: OutOfMemoryError when using query with sort
Date Mon, 03 May 2010 13:25:03 GMT
How many unique terms are in your sort field?

On Sun, May 2, 2010 at 11:48 PM, Hamid Vahedi <hvbnet@yahoo.com> wrote:

> I install 64 bit windows and my problem solved. also i using shard mode
> (100 M doc per machine with one solr instance)
> is there better solution? because i insert at least 5M doc per day
>
>
>
>
> ________________________________
> From: Koji Sekiguchi <koji@r.email.ne.jp>
> To: solr-user@lucene.apache.org
> Sent: Sun, May 2, 2010 9:08:42 PM
> Subject: Re: OutOfMemoryError when using query with sort
>
> Hamid Vahedi wrote:
> > Hi, i using solr that running on windows server 2008 32-bit.
> > I add about 100 million article into solr without set store attribute.
> (only store document id) (index file size about 164 GB)
> > when try to get query without sort , it's return doc ids in some ms, but
> when add sort command, i get below error:
> >
> > TTP Status 500 - Java heap space java.lang.OutOfMemoryError: Java heap
> space at
> Since sort uses FieldCache and it consumes memory, you got OOM.
> I think 100M docs/164GB index is considerable large for 32 bit machine.
> Why don't you use distributed search?
>
> Koji
>
> -- http://www.rondhuit.com/en/
>
>
>
>

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