lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Chaddock" <leonchadd...@macranet.co.uk>
Subject Re: Memory problem
Date Wed, 01 Feb 2006 11:21:50 GMT
Hi Nick,
 we didnt get the error on importing it was actually when conducting a 
search. Would this still help?
Thanks
Leon
----- Original Message ----- 
From: "Nick Vincent" <nick@neoworks.com>
To: <java-user@lucene.apache.org>
Sent: Wednesday, February 01, 2006 11:17 AM
Subject: RE: Memory problem


Hi Leon,

I had a similar problem when doing a test import which I believe was 
actually down to object churn in parsing the data to create the Documents. 
I achieved a quick fix by calling System.gc() every thousand documents.

Cheers,

Nick

________________________________

From: Leon Chaddock [mailto:leonchaddock@macranet.co.uk]
Sent: Wed 01/02/2006 10:21
To: java-user@lucene.apache.org
Subject: Memory problem



Hi All,

We have a lucene index of over 10 000 000 docs at this time.
When we try and run a search we get
java.lang.OutOfMemoryError: Java heap space

We have tried setting the xmx settings to 1gb but to no avail (the box has
4gb of memory available) . IS there any guidance on handling memory or has
anyone had similar problems before that could help?

Many thanks

Leon

----- Original Message -----
From: "Pradeep Sharma" <pradeep@danicorp.com>
To: <java-user@lucene.apache.org>
Sent: Wednesday, February 01, 2006 2:03 AM
Subject: Greetings and my first question - Is it a good practise to store
application configuration in Lucene




I have just joined this user group, but I probably will be asking questions
/ contributing for a while now as I am starting to work on a product which
will use Lucene exclusively.

Still in the designing phase, and I see that we need to manage several user
/ application specific configurations and I am exploring the idea of storing
the configuration information also in the Index, may be create a separate
index just for the configuration, because each module of the application
will have access to Lucene classes.

I know technically this can be done, but are there any best practises which
discourage this?

Thanks in advance.
-Pradeep



--------------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.25/246 - Release Date: 30/01/2006


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org







--------------------------------------------------------------------------------


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


--------------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.25/246 - Release Date: 30/01/2006


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message