Skip to content

Cloudflare worker builds run out of memory when attempting to generate/upload sourcemapsΒ #17966

@saturnonearth

Description

@saturnonearth

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

When attempting to build my SvelteKit project on Cloudflare Workers, I am getting a Javascript heap memory error. The build works fine locally.

Building will Rolldown appears to work, but I experience other issues related to the meta-framework so this is currently not a viable solution.

Expected Result

The build should work as intended.

Actual Result

Javascript heap error, crashes build.

Product Area

Issues - Source Maps

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions