Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-9560

Document how to set heap size for Elastic Search process

    XMLWordPrintable

Details

    • 6
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    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
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            06f77f5ab1ab y_okazawa
            Votes:
            9 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated: