lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hamid Vahedi <hvb...@yahoo.com>
Subject Re: OutOfMemoryError when using query with sort
Date Mon, 03 May 2010 03:48:41 GMT
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