<commit_before>#!/usr/bin/env bash

echo ==== Install and start elasticsearch =====
set -x

ELASTICSEARCH_VERSION=elasticsearch-6.4.0

curl -L http://artifacts.elastic.co/downloads/elasticsearch/${ELASTICSEARCH_VERSION}.tar.gz -o ${ELASTICSEARCH_VERSION}.tar.gz
tar xzf ${ELASTICSEARCH_VERSION}.tar.gz

echo "ES_JAVA_OPTS='-Xms5000m -Xmx5000m' ./${ELASTICSEARCH_VERSION}/bin/elasticsearch -E network.host=0.0.0.0" | tee start_elasticsearch.sh
chmod 777 ./start_elasticsearch.sh

set +x<commit_msg>reduced seqr memory reqs.<commit_after>#!/usr/bin/env bash

echo ==== Install and start elasticsearch =====
set -x

ELASTICSEARCH_VERSION=elasticsearch-6.4.0

curl -L http://artifacts.elastic.co/downloads/elasticsearch/${ELASTICSEARCH_VERSION}.tar.gz -o ${ELASTICSEARCH_VERSION}.tar.gz
tar xzf ${ELASTICSEARCH_VERSION}.tar.gz

echo "ES_JAVA_OPTS='-Xms3900m -Xmx3900m' ./${ELASTICSEARCH_VERSION}/bin/elasticsearch -E network.host=0.0.0.0" | tee start_elasticsearch.sh
chmod 777 ./start_elasticsearch.sh

set +x
{'fraction_non_alphanumeric': 0.14612326043737575, 'fraction_numerical': 0.03578528827037773, 'mean_word_length': 5.496774193548387, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '246085', 'n_tokens_mistral': 401, 'n_tokens_neox': 383, 'n_words': 64}