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

Modifying content.api.baseURL in nuxt.config.ts causes SSR service to OOM #2814

Open
Zhliyun opened this issue Oct 16, 2024 · 0 comments
Open

Comments

@Zhliyun
Copy link

Zhliyun commented Oct 16, 2024

Environment


  • Operating System: Darwin
  • Node Version: v20.17.0
  • Nuxt Version: 3.13.2
  • CLI Version: 3.14.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

1.	Create a fresh Nuxt project or use an existing one.
2.	Install and configure @nuxt/content module.
3.	In nuxt.config.ts, modify the content.api.baseURL to point to a custom or remote API endpoint. For example:

content: {
api: {
baseURL: '/_content'
}
}

Describe the bug

When I modify the content.api.baseURL setting in the nuxt.config.ts file, the server-side rendering (SSR) service begins to experience high memory usage, eventually leading to an “Out of Memory” (OOM) error.

Additional context

No response

Logs

No response

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

No branches or pull requests

1 participant