The query is ==> ID:0*
This query returns all the documents, exactly 210.000 documents.
If the user doesn´t specify any criterio in the user interface of searching, the server searchs all the documents.

   Mari Luz



Untitled Document --------------------------------------------------- Mari Luz Elola Developer Engineer Caleruega, 67 28033 Madrid (Spain) Tel.: +34 91 768 46 58 mailto: [EMAIL PROTECTED] --------------------------------------------------- Privileged/Confidential Information may be contained in this message and is intended solely for the use of the named addressee(s). Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or re-use of the information contained in it is prohibited and may be unlawful. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Seinet shall be understood as neither given nor endorsed by it. If you have received this communication in error, please notify us immediately by replying to this mail and deleting it from your computer. Thank you. ----- Original Message ----- From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, July 06, 2005 8:12 PM
Subject: Re: OUTOFMEMORY ERROR


We'll need some more details to help.  What query was it?

    Erik

On Jul 6, 2005, at 1:22 PM, MariLuz Elola wrote:

Hi, I have a problem when I am trying to search a simple query without sorting into an index with 210.000 documents.
Executing the query several times I am getting the OutOfMemory error.
I am creating an IndexSearcher(pathDir) every search.
I don´t know if it will be necessary to create only one indexSearcher and caching it, If I search into an index with only 50.000 documents, the outofMemory error doen´t appear.
------------------------
ENVIROMENT DESCRIPTION:
------------------------

---SERVER---
MEMORY 2GB
APP SERVER Jboss3.2.3
JAVA_OPTS -Xmx640M -Xms640M

----LUCENE 1.4.3-------
INDEX +- 210.000 documents
EACH DOCUMENT +- 20 fields (metadatas)
SIZE TEXT DOCUMENT 1k

------------------------
ERROR:
------------------------
18:52:18,657 ERROR [LogInterceptor] Unexpected Error:
java.lang.OutOfMemoryError
18:52:18,657 ERROR [LogInterceptor] Unexpected Error:
java.lang.OutOfMemoryError
18:52:18,660 ERROR [STDERR] java.rmi.ServerError: Unexpected Error; nested exception is:
        java.lang.OutOfMemoryError
18:52:18,661 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.handleException (LogInterceptor.java:374) 18:52:18,661 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195) 18:52:18,661 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke (ProxyFactoryFinderInterceptor.java:122) 18:52:18,662 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.internalInvoke (StatelessSessionContainer.java:331) 18:52:18,662 ERROR [STDERR] at org.jboss.ejb.Container.invoke (Container.java:700) 18:52:18,662 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) 18:52:18,662 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invok
.
.
Exception java.lang.OutOfMemoryError: requested 4 bytes for CMS: Work queue overflow; try -XX:-CMSParallelRemarkEnabled. Out of swap space?


Could anybody help me???

Thanks in advance

    Mari Luz







Reply via email to