Skip to content

Attempt to reduce nextjs memory usage #2211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2025
Merged

Conversation

rhysyngsun
Copy link
Contributor

What are the relevant tickets?

N/A

Description (What does it do?)

This attempts to reduce nextjs memory usage so it doesn't get oom-killed.

How can this be tested?

Run docker compose up, it should run without being oom-killed. The build may be slower but it should use less memory.

Copy link

OpenAPI Changes

Show/hide No detectable change.

Copy link
Contributor

@ChristopherChudzicki ChristopherChudzicki left a comment

Choose a reason for hiding this comment

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

Could we limit this to dev mode?

Also: In docker-compose.apps.yml, it might be worth removing the storybook command.

Copy link

OpenAPI Changes

Show/hide No detectable change.

1 similar comment
Copy link

OpenAPI Changes

Show/hide No detectable change.

@rhysyngsun rhysyngsun force-pushed the nl/reduce-nextjs-mem-usage branch from 56bdabe to 7612fdd Compare April 22, 2025 19:40
Copy link

OpenAPI Changes

Show/hide No detectable change.

@rhysyngsun rhysyngsun merged commit 938c265 into main Apr 22, 2025
12 checks passed
@rhysyngsun rhysyngsun deleted the nl/reduce-nextjs-mem-usage branch April 22, 2025 20:02
This was referenced May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants