File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ FROM alpine:3 AS build-products
2626ARG REPO_URL="https://github.com/ultimate-pa/ultimate.git"
2727ARG REPO_BRANCH="dev"
2828
29+ ARG ULTIMATE_MEMORY_HEAP_MAX="12G"
30+ ARG ULTIMATE_MEMORY_STACK_MAX="512M"
31+
2932ARG REPO_DIR_BUILD
3033ARG DIR_BUILD
3134ARG DIR_ULTIMATE
@@ -43,7 +46,7 @@ RUN mkdir -p "${DIR_BUILD}" && \
4346
4447# build all Ultimate products
4548WORKDIR "${DIR_ULTIMATE}"
46- RUN cd "${DIR_OUTPUT_BUILD}" && bash makeBuild.sh -p linux
49+ RUN cd "${DIR_OUTPUT_BUILD}" && bash makeBuild.sh -m "${ULTIMATE_MEMORY_HEAP_MAX}" -m "${ULTIMATE_MEMORY_STACK_MAX}" - p linux
4750
4851# ------------------------------------------------------------------------------
4952# 2nd build stage: compile and build the Ultimate web interface
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ services:
77 target : " ultimate-webbackend"
88 args :
99 ULTIMATE_DIR_TMP : " ${ULTIMATE_DIR_TMP-/tmp/ultimate}"
10+ ULTIMATE_MEMORY_HEAP_MAX : " ${ULTIMATE_MEMORY_HEAP_MAX-12G}"
11+ ULTIMATE_MEMORY_STACK_MAX : " ${ULTIMATE_MEMORY_HEAP_MAX-512M}"
1012 image : " ultimate-webbackend"
1113 environment :
1214 ULTIMATE_BACKEND_HOST : " ${ULTIMATE_BACKEND_HOST-localhost}"
@@ -25,6 +27,8 @@ services:
2527 target : " ultimate-webfrontend"
2628 args :
2729 ULTIMATE_FRONTEND_BASEURL : " ${ULTIMATE_FRONTEND_ROUTE-/website}"
30+ ULTIMATE_MEMORY_HEAP_MAX : " ${ULTIMATE_MEMORY_HEAP_MAX-12G}"
31+ ULTIMATE_MEMORY_STACK_MAX : " ${ULTIMATE_MEMORY_HEAP_MAX-512M}"
2832 image : " ultimate-webfrontend"
2933 environment :
3034 ULTIMATE_FRONTEND_DEBUG : " ${ULTIMATE_FRONTEND_DEBUG-false}"
Original file line number Diff line number Diff line change @@ -22,3 +22,6 @@ ULTIMATE_LOG_LEVEL=INFO
2222
2323ULTIMATE_DIR_TMP = /tmp/ultimate
2424ULTIMATE_TIMEOUT = 90
25+
26+ ULTIMATE_MEMORY_HEAP_MAX = 12G
27+ ULTIMATE_MEMORY_STACK_MAX = 512M
You can’t perform that action at this time.
0 commit comments