fix(spec): raise DTS build heap 4096→12288 (fix flaky DTS OOM)#1619
Merged
Conversation
…OF_MEMORY) The spec build's separate DTS pass hard-codes NODE_OPTIONS=--max-old-space-size=4096, which OVERRIDES the Docker/CI outer 12288 — so the type-declaration build runs in a 4GB ceiling and intermittently OOMs (ERR_WORKER_OUT_OF_MEMORY), failing the objectos image build. The schema/type surface has grown past 4GB for the DTS pass. Match the outer build budget (12288); --max-old-space-size is a ceiling, not a reservation, so it is safe on smaller machines too. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
spec build 的 DTS 单独步骤硬编码
NODE_OPTIONS=--max-old-space-size=4096,覆盖了 Docker/CI 外层的 12288——所以类型声明构建被限在 4GB,schema/类型面变大后偶发ERR_WORKER_OUT_OF_MEMORY,导致 objectos 镜像构建失败(本会话 #143 部署即因此挂)。调到 12288 与外层一致;--max-old-space-size是上限非预留,小机器也安全。