Right. But I was trying to point out that a single 150MB Document is not in fact what the o.p. wants to do. For example, if your 150MB represents, say, a whole book, should that really be a single document? Or should individual chapters be separate documents, for example?
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ________________________________ From: Shalin Shekhar Mangar <shalinman...@gmail.com> To: solr-user@lucene.apache.org Sent: Tuesday, February 17, 2009 2:48:08 PM Subject: Re: Outofmemory error for large files On Tue, Feb 17, 2009 at 10:26 AM, Otis Gospodnetic < otis_gospodne...@yahoo.com> wrote: > Siddharth, > > But does your 150MB file represent a single Document? That doesn't sound > right. > Otis, Solrj writes the whole XML in memory before writing it to server. That may be one reason behind Sidhharth's OOME. See https://issues.apache.org/jira/browse/SOLR-973 -- Regards, Shalin Shekhar Mangar.