Skip to content
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

Next.js 12.0.2 causes memory leak after upgrading from Next 12.0.1 #44973

Open
1 task done
dev-cutshort opened this issue Jan 17, 2023 · 0 comments
Open
1 task done
Labels
template: bug A user has filled out the bug report template. Issue needs triaging

Comments

@dev-cutshort
Copy link

dev-cutshort commented Jan 17, 2023

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

We are running a docker container inside AWS ECS.

Which area(s) of Next.js are affected? (leave empty if unsure)

No response

Link to the code that reproduces this issue

N/A

To Reproduce

Unable to reproduce with fresh Next.js setup, likely because we are using an enterprise app and there are a lot of third party packages involved.

I can only assume that the server is crashing due to memory size.
In our enterprise app, we are able to see the crashes periodically after 2-3 hours.

Describe the Bug

We switched to Next.js v12.2.0 to use the keepAliveTimeout feature. But we started seeing 502 bad gateway errors and when examined the logs we found that the app crashes with SIGABRT.
Following are the logs from AWS Cloudwatch
FATAL ERROR: v8::FromJust Maybe value is Nothing.
error Command failed with signal "SIGABRT".

Expected Behavior

App is expected to NOT crash

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

next start

@dev-cutshort dev-cutshort added the template: bug A user has filled out the bug report template. Issue needs triaging label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template: bug A user has filled out the bug report template. Issue needs triaging
Projects
None yet
Development

No branches or pull requests

1 participant