lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laxmilal Menariya <lmena...@chambal.com>
Subject Re: Outof memory exception on using Integer.MaxValue
Date Tue, 28 Dec 2010 08:36:26 GMT
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