Sorting is a memory-intensive operation indeed. Not sure what you are asking, but it may very well be that your only option is to give JVM more memory.
On 7/10/2012 8:25 AM, Bruno Mannina wrote: > Dear Solr Users, > > Each time I try to do a request with &sort=pubdate+desc.... > > I get: > GRAVE: java.lang.OutOfMemoryError: Java heap space > > I use Solr3.6, I have around 80M docs and my request gets around 160 > results. > > Actually for my test, i use jetty > > java -jar -Xmx2g start.jar > > PS: If I write 3g i get an error, I have 8go Ram > > Thanks a lot for your help, > Bruno > >