Skip to content

Commit

Permalink
Disable memory checking on dist'd builds (#15)
Browse files Browse the repository at this point in the history
Gets rid of the following message (as well as any performance penalties we may be paying):

> WARN: Strict java memory checking is enabled, don't do release builds or performance runs with this enabled. Invoke "ant clean" and "ant -Djmemcheck=NO_MEMCHECK" to disable.

I've confirmed this by running the prior release locally.
  • Loading branch information
rkennedy-mode authored Sep 8, 2021
1 parent da2e79f commit a2d28ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- run: apt-get install -y openjdk-8-jdk-headless ant build-essential cmake python git
- checkout
- run: ant clean
- run: ant dist
- run: ant -Djmemcheck=NO_MEMCHECK dist
- run: cp obj/release/voltdb-community-*.tar.gz obj/release/mode-voltdb-community.tar.gz
- store_artifacts:
path: obj/release/mode-voltdb-community.tar.gz
Expand Down Expand Up @@ -98,7 +98,7 @@ commands:
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update
apt-get install docker-ce-cli
apt-get install -y docker-ce-cli
- checkout
- setup_remote_docker:
docker_layer_caching: true
Expand Down
2 changes: 1 addition & 1 deletion .circleci/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR /opt/voltdb
COPY . .

RUN ant clean
RUN ant dist | ts '[%Y-%m-%d %H:%M:%S]'
RUN ant -Djmemcheck=NO_MEMCHECK dist | ts '[%Y-%m-%d %H:%M:%S]'
RUN cp obj/release/voltdb-community-*.tar.gz obj/release/voltdb-community.tar.gz


Expand Down

0 comments on commit a2d28ae

Please sign in to comment.