You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Gerardo Leon Eivet <ei...@hotmail.com> on 2003/07/03 22:40:36 UTC

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"

_________________________________________________________________
MSN Fotos: la forma más fácil de compartir e imprimir fotos.  
http://photos.msn.es/support/worldwide.aspx


I want to make index as integer

Posted by Michiaki HAMADA / FUJI-RIC <mh...@star.fuji-ric.co.jp>.
Hi all,

I want to create index to element ( which date type is defined as the
integer
in schema ) as integer, and to search these elements by range of integer (
for example,
I want to get the elements whose values are more than 10 and less than 20 ).

Please teach me how to do it.

Thanks.

Michi




I want to make index as integer

Posted by Michiaki HAMADA / FUJI-RIC <mh...@star.fuji-ric.co.jp>.
Hi all,

I want to create index to element ( which date type is defined as the
integer
in schema ) as integer, and to search these elements by range of integer (
for example,
I want to get the elements whose values are more than 10 and less than 20 ).

Please teach me how to do it.

Thanks.

Michi




Re: XINDICE - java.lang.OutOfMemoryError

Posted by Charles Hsiao <ch...@mrxsolutions.com>.
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" <on...@onnos.com>
> To: <xi...@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


Re: XINDICE - java.lang.OutOfMemoryError

Posted by Lachlan Donald <la...@ljd.cc>.
I had exactly the same problem with xml-rpc, except it only happened with
concurrant connections.

- Lachlan Donald

----- Original Message ----- 
From: "onno" <on...@onnos.com>
To: <xi...@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).
>
>


Re: XINDICE - java.lang.OutOfMemoryError

Posted by onno <on...@onnos.com>.
> 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).