I used to have this problem and fixed by adding this option in xindice.sh

JAVA_OPT=" -verbose:gc -Xms100m -Xmx150m -XX:MaxHeapFreeRatio=90 -XX:MinHeapFreeRatio=20"

You might have to change a little bit for your box. I have 192M memory in my box.

On Friday, July 4, 2003, at 07:35  AM, Lachlan Donald wrote:

I had exactly the same problem with xml-rpc, except it only happened with
concurrant connections.


- Lachlan Donald

----- Original Message -----
From: "onno" <[EMAIL PROTECTED]>
To: <xindice-users@xml.apache.org>
Sent: Friday, July 04, 2003 7:48 AM
Subject: Re: XINDICE - java.lang.OutOfMemoryError


Hello All

I am using Xindice 1.0.
I have a collection with 30000 documents, when I make many xpath-query
I often get the following exception, The
slows down the XINDICE performance drastically. If i restart the
XIndice, the performance become normal. Any reason behind this?


"java.lang.OutOfMemoryError"

you must use xml-rpc interface on version 1.0 - coz the other thing leaks.
(corba or whatever).





Charles Hsiao

MRX Solututions Corp.
Smart Practice, Smart Solutions



Reply via email to