On Thu, 2013-08-01 at 15:24 +0200, Grzegorz Sobczyk wrote: > Today I found in solr logs exception: java.lang.OutOfMemoryError: Requested > array size exceeds VM limit. > At that time memory usage was ~200MB / Xmx3g
[...] > Caused by: java.lang.OutOfMemoryError: Requested array size exceeds VM limit > at org.apache.lucene.util.PriorityQueue.<init>(PriorityQueue.java:64) > at org.apache.lucene.util.PriorityQueue.<init>(PriorityQueue.java:37) > at > org.apache.solr.handler.component.ShardFieldSortedHitQueue.<init>(ShardDoc.java:113) Are you requesting a very large number of results? Integer.MAX_VALUE perhaps? If so, you need to change that to a more manageable number. - Toke Eskildsen, State and University Library, Denmark