I have an instance of Solr 5.0.0 in production with the following JVM heap size setting:
SOLR_JAVA_MEM="-Xms2g -Xmx2g"
When I migrated to Solr 5.1.0 with the same configuration and started the server, I came across the OutOfMemoryError error. Observing the Solr API I noticed that the heap size was with 512m
. My heap configuration is not working, causing the server to start with the default heap size.