From ed13b598ae76dd948d28e12f7398f3837d7943a2 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:52:02 +0100 Subject: [PATCH] ci: adding memory limitation to MAPDL command line (#3693) * ci: adding memory limitation to MAPDL command line * chore: adding changelog file 3693.maintenance.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> --- .ci/start_mapdl.sh | 2 +- doc/changelog.d/3693.maintenance.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 doc/changelog.d/3693.maintenance.md diff --git a/.ci/start_mapdl.sh b/.ci/start_mapdl.sh index 68d028c4a4..42b4566b9b 100755 --- a/.ci/start_mapdl.sh +++ b/.ci/start_mapdl.sh @@ -52,6 +52,6 @@ docker run \ -u=0:0 \ --memory=6656MB \ --memory-swap=16896MB \ - "$MAPDL_IMAGE" "$EXEC_PATH" -grpc -dir /jobs -"$DISTRIBUTED_MODE" -np 2 > log.txt & + "$MAPDL_IMAGE" "$EXEC_PATH" -grpc -dir /jobs -"$DISTRIBUTED_MODE" -np 2 -db -5000 -m -5000 - > log.txt & grep -q 'Server listening on' <(timeout 60 tail -f log.txt) diff --git a/doc/changelog.d/3693.maintenance.md b/doc/changelog.d/3693.maintenance.md new file mode 100644 index 0000000000..dd3550c679 --- /dev/null +++ b/doc/changelog.d/3693.maintenance.md @@ -0,0 +1 @@ +ci: adding memory limitation to MAPDL command line \ No newline at end of file