Skip to content

Increase schema worker memory by 15% to handle larger schemas#8193

Open
jdolle wants to merge 9 commits into
mainfrom
worker-memory
Open

Increase schema worker memory by 15% to handle larger schemas#8193
jdolle wants to merge 9 commits into
mainfrom
worker-memory

Conversation

@jdolle

@jdolle jdolle commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Background

Getting worker out of memory errors due to a large schema

Description

Increases memory while we investigate ways to reduce memory usage

@jdolle jdolle requested review from dotansimha and n1ru4l July 2, 2026 15:56
@jdolle jdolle self-assigned this Jul 2, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

While this pull request increases the schema service memory limit to 4Gi in production/staging and raises the composition worker max old generation size to 832, doing so unconditionally will cause Kubernetes OOM kills in non-production environments where the container memory limit is restricted to 1Gi. This value should be made conditional on the environment, scaling it down to 256 for non-production setups.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread deployment/services/schema.ts Outdated
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
hive 11.4.1-alpha-20260706231256-c32066d70752d5d0dda2509ad9c3ff16c9270553 npm ↗︎ unpkg ↗︎

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

🐋 This PR was built and pushed to the following Docker images:

Targets: build

Platforms: linux/amd64

Image Tags: c32066d70752d5d0dda2509ad9c3ff16c9270553, c32066d

@theguild-bot theguild-bot had a problem deploying to staging July 2, 2026 19:48 Failure
@theguild-bot theguild-bot had a problem deploying to staging July 2, 2026 19:49 Failure
@theguild-bot theguild-bot had a problem deploying to staging July 2, 2026 21:05 Failure
@theguild-bot theguild-bot had a problem deploying to staging July 2, 2026 22:41 Failure
@theguild-bot theguild-bot had a problem deploying to staging July 2, 2026 23:15 Failure
@theguild-bot theguild-bot had a problem deploying to staging July 3, 2026 00:04 Failure
@theguild-bot theguild-bot temporarily deployed to staging July 7, 2026 03:56 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants