lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jawahar Lal <j...@chambal.com>
Subject Re: Outof memory exception on using Integer.MaxValue
Date Tue, 28 Dec 2010 09:04:44 GMT
I am using lucene 3.0.3

On 28 December 2010 14:06, Laxmilal Menariya <lmenaria@chambal.com> wrote:

> Which version you are trying of lucene ?
>
> On Tue, Dec 28, 2010 at 12:30 PM, Jawahar Lal <jlal@chambal.com> wrote:
>
> > Hi,
> >
> >  I am using multiSearcher as
> >
> > objMultiSearcher.search(query,null,Integer.MaxValue);
> >
> > I searched a query, which should & does not return any hit. As I run the
> > query, the above statement throw OutofMemory exception. I change the
> > Integer.MaxValue TO 100, then I again searched, it returned 0 hit.
> >
> > Why its thowing memory exception, even there is not hit found for the
> query
> > ?
> >
> > Thanks
> >
>
>
>
> --
> Thanks,
> Laxmilal Menariya
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message