Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
6
-
Description
Problem
Despite specifying the heap size of Bitbucket Server, Elasticsearch heap size can not be specified.
Therefore, the Elasticsearch process consumes a large amount of memory.
Expected
Command line arguments of Elastisearch process contains about heapsize option(Xms or Xmx) that specified as Bitbucket Server process.
Actual
Command line arguments of Elastisearch process did not contains about heapsize option(Xms or Xmx).
Workaround
Setting these variables in BITBUCKET_INSTALL/bin/start-search.sh.
export ES_MIN_MEM=1024m export ES_MAX_MEM=1024m export ES_DIRECT_SIZE=1024m