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 <k...@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/