Skip to content
Snippets Groups Projects
Commit 08c4dfbf authored by Demian Katz's avatar Demian Katz Committed by GitHub
Browse files

Avoid memory limits during Solr installation/untar. (#880)

parent 8587f050
No related merge requests found
...@@ -152,6 +152,9 @@ ...@@ -152,6 +152,9 @@
<if> <if>
<not><equals arg1="${existing_solr_version}" arg2="${solr_version}" /></not> <not><equals arg1="${existing_solr_version}" arg2="${solr_version}" /></not>
<then> <then>
<!-- make sure we don't run out of memory during installation: -->
<php expression="ini_set('memory_limit', '1G');" />
<!-- download from Apache if not already present in the downloads cache --> <!-- download from Apache if not already present in the downloads cache -->
<if> <if>
<not><available file="${srcdir}/downloads/solr-${solr_version}.tgz" /></not> <not><available file="${srcdir}/downloads/solr-${solr_version}.tgz" /></not>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment