increase docker memory limits for documentation builds

This commit is contained in:
Miki Matsumoto 2024-12-03 21:38:53 +09:00
parent bcdb593e96
commit 0853ac51eb

View File

@ -77,8 +77,8 @@ def main():
test_output.mkdir(parents=True, exist_ok=True)
cmd = (
f"docker run --cap-add=SYS_PTRACE --user={os.geteuid()}:{os.getegid()} "
f"-e GIT_DOCS_BRANCH={args.docs_branch} "
f"docker run --cap-add=SYS_PTRACE --memory=12g --user={os.geteuid()}:{os.getegid()} "
f"-e GIT_DOCS_BRANCH={args.docs_branch} -e NODE_OPTIONS='--max-old-space-size=6144' "
f"--volume={repo_path}:/ClickHouse --volume={test_output}:/output_path "
f"{docker_image}"
)