Mailing List Archive

Boolean Query + Memory Monster
I have 1 Geg of memory on the machine with the application
when I use a normal query it goes well, but when I use a range
query it sucks the memory out of the machine and throws a servlet
out of memory error,
I have 80 000 records in the index and it's 43 MB large

anything people ?


Nader S. Henein
Bayt.com , Dubai Internet City
Tel. +9714 3911900
Fax. +9714 3911915
GSM. +9715 05659557
www.bayt.com

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
RE: Boolean Query + Memory Monster [ In reply to ]
Use the java -Xmx option to increase your heap size.

Scott

> -----Original Message-----
> From: Nader S. Henein [mailto:nsh@bayt.net]
> Sent: Thursday, June 13, 2002 12:20 PM
> To: lucene-user@jakarta.apache.org
> Subject: Boolean Query + Memory Monster
>
>
>
> I have 1 Geg of memory on the machine with the application
> when I use a normal query it goes well, but when I use a range
> query it sucks the memory out of the machine and throws a servlet
> out of memory error,
> I have 80 000 records in the index and it's 43 MB large
>
> anything people ?
>
>
> Nader S. Henein
> Bayt.com , Dubai Internet City
> Tel. +9714 3911900
> Fax. +9714 3911915
> GSM. +9715 05659557
> www.bayt.com
>
> --
> To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
>
RE: Boolean Query + Memory Monster [ In reply to ]
Nader,

I drew the same conclusion upon looking at the code, though we are only now
testing Lucene with large files. Much of the Lucene high level code appears
to me to be very brute force. I see the same problems with Filters. At the
company I'm working for, we're looking at re-implementing much of this code
to make it more efficient.

James

-----Original Message-----
From: Nader S. Henein [mailto:nsh@bayt.net]
Sent: Thursday, June 13, 2002 1:20 PM
To: lucene-user@jakarta.apache.org
Subject: Boolean Query + Memory Monster



I have 1 Geg of memory on the machine with the application
when I use a normal query it goes well, but when I use a range
query it sucks the memory out of the machine and throws a servlet
out of memory error,
I have 80 000 records in the index and it's 43 MB large

anything people ?


Nader S. Henein
Bayt.com , Dubai Internet City
Tel. +9714 3911900
Fax. +9714 3911915
GSM. +9715 05659557
www.bayt.com

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

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
RE: Boolean Query + Memory Monster [ In reply to ]
I'm all ears .. I'm running the search from a servlet on
a resin web server, any suggestions as to increasing the heap
size in this case ?



-----Original Message-----
From: Scott Ganyo [mailto:scott.ganyo@eTapestry.com]
Sent: Thursday, June 13, 2002 9:47 PM
To: 'Lucene Users List'
Subject: RE: Boolean Query + Memory Monster


Use the java -Xmx option to increase your heap size.

Scott

> -----Original Message-----
> From: Nader S. Henein [mailto:nsh@bayt.net]
> Sent: Thursday, June 13, 2002 12:20 PM
> To: lucene-user@jakarta.apache.org
> Subject: Boolean Query + Memory Monster
>
>
>
> I have 1 Geg of memory on the machine with the application
> when I use a normal query it goes well, but when I use a range
> query it sucks the memory out of the machine and throws a servlet
> out of memory error,
> I have 80 000 records in the index and it's 43 MB large
>
> anything people ?
>
>
> Nader S. Henein
> Bayt.com , Dubai Internet City
> Tel. +9714 3911900
> Fax. +9714 3911915
> GSM. +9715 05659557
> www.bayt.com
>
> --
> To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
RE: Boolean Query + Memory Monster [ In reply to ]
I don't know about Resin, but Tomcat allows one to set CATALINA_OPTS
(or some other _OPTS) environment variable, whose value is them used to
invoke Java. I would imagine Resin to have something similar.
This then becomes a Resin question.

Otis

--- "Nader S. Henein" <nsh@bayt.net> wrote:
> I'm all ears .. I'm running the search from a servlet on
> a resin web server, any suggestions as to increasing the heap
> size in this case ?
>
>
>
> -----Original Message-----
> From: Scott Ganyo [mailto:scott.ganyo@eTapestry.com]
> Sent: Thursday, June 13, 2002 9:47 PM
> To: 'Lucene Users List'
> Subject: RE: Boolean Query + Memory Monster
>
>
> Use the java -Xmx option to increase your heap size.
>
> Scott
>
> > -----Original Message-----
> > From: Nader S. Henein [mailto:nsh@bayt.net]
> > Sent: Thursday, June 13, 2002 12:20 PM
> > To: lucene-user@jakarta.apache.org
> > Subject: Boolean Query + Memory Monster
> >
> >
> >
> > I have 1 Geg of memory on the machine with the application
> > when I use a normal query it goes well, but when I use a range
> > query it sucks the memory out of the machine and throws a servlet
> > out of memory error,
> > I have 80 000 records in the index and it's 43 MB large
> >
> > anything people ?
> >
> >
> > Nader S. Henein
> > Bayt.com , Dubai Internet City
> > Tel. +9714 3911900
> > Fax. +9714 3911915
> > GSM. +9715 05659557
> > www.bayt.com
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:lucene-user-help@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
>


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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