Mike Klaas schrieb: > On 3/12/07, Maximilian Hütter <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have a question regarding Solr's behaviour, in the standard >> installation. When use the start.jar with a rather complex schema and I >> do about 1000 updates and then try to commit, I get this: >> >> <result status="1">java.lang.OutOfMemoryError: Java heap space >> </result> >> >> I know I can fix it by giving the VM a larger heap size, but still I >> wonder what a good number of updates would be? >> >> What are your experiences? > > That seems awfully few docs to cause OOM--I'm using autocommit @ > 100,000 docs without issues (then again, I give my instances a least a > gig of heap). > > What is your current heap size? > > -Mike > It is the default heap size for the Sun JVM, so I guess 64MB max. The documents are rather large, but if you manage to index 100,000 docs, there seems to be some problem with Solr.
What would be the recommended heap size for Solr? -- Maximilian Hütter blue elephant systems GmbH Wollgrasweg 49 D-70599 Stuttgart Tel : (+49) 0711 - 45 10 17 578 Fax : (+49) 0711 - 45 10 17 573 e-mail : [EMAIL PROTECTED] Sitz : Stuttgart, Amtsgericht Stuttgart, HRB 24106 Geschäftsführer: Joachim Hörnle, Thomas Gentsch, Holger Dietrich