Hi "sc",
I suspect you are hitting OOM for makeDistanceValueSource call on
RecursivePrefixTreeStrategy.  That strategy is best for filtering (the
query), but it's a memory pig for distance sorting requirements.  Instead,
use PointVectorStrategy for the makeDistanceValueSource purpose.  For that
strategy, you only need it to do just that, so you can enable docValues and
disable the "index".  That strategy accepts a FieldType in the
constructor.  PointVectorStrategy is limited to one point per document per
field, and always uses double precision on both "x" and "y".
~ David

On Fri, Jul 14, 2017 at 6:19 PM sc <[EMAIL PROTECTED]> wrote:
Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker
LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
http://www.solrenterprisesearchserver.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB