[ https://issues.apache.org/jira/browse/SOLR-7773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christine Poerschke updated SOLR-7773: -------------------------------------- Component/s: scripts and tools > Can not overwrite mem settings with env variable > ------------------------------------------------ > > Key: SOLR-7773 > URL: https://issues.apache.org/jira/browse/SOLR-7773 > Project: Solr > Issue Type: Bug > Components: scripts and tools > Affects Versions: 5.2.1 > Environment: linux > Reporter: Nicholas Stuart > > With the changes for SOLR-7392 there is an unfortunate side affect that the > variables can now ONLY be set in the ini file because SOLR_HEAP is predefined > there. > The 'bin/solr' script checks for the variables existence and uses it if set, > and since the ini gets run at startup it will also overwrite whatever you set > outside that file. > It looks like the solr startup script will default to 512 if nothing is set, > so it should not need to be pre-set in this script. Main use case for this is > automated deploys, and setting memory values in an environment variable > outside of the ini scripts. Do not want to have to hack that file in the > write spot during deployment to configure memory values. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org