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

Increase memory for server function on Next.js with image optimization #7940

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

chalosalvador
Copy link
Member

Description

Scenarios Tested

Sample Commands

src/frameworks/index.ts Outdated Show resolved Hide resolved
@@ -538,6 +539,12 @@ ${

// TODO move to templates

if (frameworksBackend && framework === "next") {
if (await isUsingImageOptimization(getProjectPath(), ".next")) {
Copy link
Member

Choose a reason for hiding this comment

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

don't we need to do this only for Next 15?

Copy link
Member Author

Choose a reason for hiding this comment

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

The memory issue is happening on Next 14 and 13 as well 🫠

src/frameworks/index.ts Outdated Show resolved Hide resolved
src/frameworks/index.ts Outdated Show resolved Hide resolved
src/frameworks/next/index.ts Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 51.14%. Comparing base (49c5ac5) to head (1f3d8a2).
Report is 9 commits behind head on master.

Files with missing lines Patch % Lines
src/frameworks/next/index.ts 0.00% 5 Missing ⚠️
src/frameworks/index.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7940      +/-   ##
==========================================
- Coverage   51.19%   51.14%   -0.05%     
==========================================
  Files         423      423              
  Lines       29544    29580      +36     
  Branches     6031     6039       +8     
==========================================
+ Hits        15125    15130       +5     
- Misses      13059    13090      +31     
  Partials     1360     1360              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants