It is using the default size allocated by the OS, which I don't have any
idea how much exactly. But when I use the -Xmx1024m and run this is not
occuring. Also I make some change in that loop now keeping only the Document
hitDoc = hits.doc(i); line and thats where it starts throwing error. But I
That certainly seems odd. How much memory are you allocating
your JVM?
Erick
On 4/11/07, Lokeya <[EMAIL PROTECTED]> wrote:
I have gone through the mailing list in search of posts for this error.
Though there are many, I feel my problem is little different from that and
like to get some advice