Skip to content

Commit

Permalink
HSEARCH-2762 Lower the JVM heap size of Elasticsearch 5+ instances sp…
Browse files Browse the repository at this point in the history
…awned in tests

We could do it for ES2 too, but that would require messing with
environment variables, and doing so from Maven doesn't seem easy. So we
won't bother.
  • Loading branch information
yrodiere committed Jun 9, 2017
1 parent 9553c9c commit 0759c67
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -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
Expand Down

0 comments on commit 0759c67

Please sign in to comment.