Hi,
We are using Solr 1.2 for our project and have come across the following
exception and error:
Exception:
SEVERE: java.lang.OutOfMemoryError: Java heap space
at org.apache.lucene.util.PriorityQueue.initialize (PriorityQueue.java
:36)
Steps to reproduce:
1. Restart your Web Server.
2. Enter a query with VERY_LARGE_VALUE for "rows" field. For example:
http://xx.xx.xx.xx:8080/solr/select?q=unix&%20start=0&fl=id&indent=off&rows=999999999
3. Press enter or click on the 'Go' button on the browser.
NOTE:
1. This exception is thrown if '9999999' (seven digits) <
VERY_LARGE_VALUE < '999999999' (nine digits).
2. The exception DOES NOT APPEAR AGAIN if we change the VERY_LARGE_VALUE to
<= '9999999', execute the query and then change the VERY_LARGE_VALUE back
to it's original value and execute the query again.
3. If the VERY_LARGE_VALUE >= '9999999999' (ten digits) we get the following
error:
Error:
HTTP Status 400 - For input string: "9999999999"
Has anyone come across this scenario before?
Regards,
Rishabh