Hi,

I am searching in a small index (of size some kb), when I pass large count i.e above 2000000 to the search method (I am calling following search method : search(Query, filter, count, sort)), lucene is giving OutOfMemoryError, stack trace is Exception in thread "main" java.lang.OutOfMemoryError: Java heap space.
Usually it is said that for large indices this error will come, but index I am searching in is very small. My java heap size is 63MB

Can somebody please help on this topic?