lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jawahar Lal <>
Subject Outof memory exception on using Integer.MaxValue
Date Tue, 28 Dec 2010 07:00:02 GMT

  I am using multiSearcher as,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


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