Skip to content

JavaScript heap out of memory error when exporting large schemas #2565

Open
@Dacjan

Description

@Dacjan

When using exportSchema with a large database schema (in my case 294 tables), the process fails with a JavaScript heap out of memory error. This issue occurs specifically with larger schemas, while smaller schemas work as expected.

Current workaround:
Increasing the Node.js heap size limit using --max-old-space-size=8192 resolves the issue.

This issue suggests that the schema export process might need optimization for handling large schemas more efficiently.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🌳 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions