On 12/1/2015 8:21 AM, Kelly, Frank wrote:
> java.lang.OutOfMemoryError: Java heap space
> 597593838 INFO  
> (zkCallback-4-thread-1103-processing-n:52.91.90.134:8983_solr) [   ]
> o.a.s.s.ZkIndexSchemaReader A schema change: WatchedEvent
> state:SyncConnected type:NodeDataChanged
> path:/configs/mycollection/managed-schema, has occurred - updating schema
> from ZooKeeper ...
>
>
> So it looks like it ran out of memory . . . Strange but I thought my
> collections were pretty small.
> Any idea why a replace-field-type call might cause an OutOfMemoryException?

The default heap size on Solr 5.x is 512MB.  This is extremely small, it
doesn't take much index data for this amount of memory to be exceeded.

Another message you sent to the list mentions "-m 1g" when starting Solr
... even a gigabyte of RAM might be very small, depending on exactly how
Solr is configured, what is indexed into Solr, and how it is being queried.

Unless you can take steps to make Solr use less memory, you're going to
need to increase the max heap.

Thanks,
Shawn

Reply via email to