Skip to content

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

Open
@Zhliyun

Description

@Zhliyun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions