pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/35478?usp=email )
Change subject: regen-makefile.sh: Increase file Code splitting to decrease mem use
......................................................................
regen-makefile.sh: Increase file Code splitting to decrease mem use
Building MME_Tests with an 8core host with 16GB of RAM sometimes
exhausts the whole available RAM, triggering the OOM killer.
Let's increase the variable to generate 8 C++ files for each TTCN3
files, in order to avoid consuming so much memory.
Change-Id: If5f54e18384f8a26b281d057e9d9f5c450566422
---
M regen-makefile.sh
1 file changed, 15 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
dexter: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/regen-makefile.sh b/regen-makefile.sh
index 67e5df0..09088e0 100755
--- a/regen-makefile.sh
+++ b/regen-makefile.sh
@@ -37,7 +37,7 @@
USE_CCACHE=1
fi
-ttcn3_makefilegen -g -p -l -U 5 -f $*
+ttcn3_makefilegen -g -p -l -U 8 -f $*
sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile
sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan/' Makefile
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/35478?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: If5f54e18384f8a26b281d057e9d9f5c450566422
Gerrit-Change-Number: 35478
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged