content icon indicating copy to clipboard operation
content copied to clipboard

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

Open Zhliyun opened this issue 1 year ago • 0 comments

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

Zhliyun avatar Oct 16 '24 11:10 Zhliyun