diff --git a/sharedtestresources/src/main/elasticsearch-maven-plugin/5.0/configuration/jvm.options b/sharedtestresources/src/main/elasticsearch-maven-plugin/5.0/configuration/jvm.options index 61cb6cc3198..704ff2712e8 100644 --- a/sharedtestresources/src/main/elasticsearch-maven-plugin/5.0/configuration/jvm.options +++ b/sharedtestresources/src/main/elasticsearch-maven-plugin/5.0/configuration/jvm.options @@ -19,8 +19,11 @@ # Xms represents the initial size of total heap space # Xmx represents the maximum size of total heap space --Xms2g --Xmx2g +# For Hibernate Search, we don't need as much as the default 2g +# Let's keep it low, so that we'll be able to run tests +# on memory-constrained CI slaves +-Xms256m +-Xmx256m ################################################################ ## Expert settings