Skip to content
This repository was archived by the owner on Oct 20, 2026. It is now read-only.
This repository was archived by the owner on Oct 20, 2026. It is now read-only.

Pretty much everything is exceeding Vercel Edge function Size limits #1277

Closed

Description

@Alick1997

Deployed project as directed with vercel and received errors of the form:

Error: The Edge Function "[page].rsc" size is 2.04 MB and your plan size limit is 2 MB. Learn More: https://vercel.link/edge-function-size

These are not isolated to one function as one would expect, initially it was an index function, then it was the opengraph-image function which I fixed by commenting out font importation as follows:

... { width: 1200, height: 630 /* fonts: [ { name: 'Inter', data: await fetch(new URL('../fonts/Inter-Bold.ttf', import.meta.url)).then((res) => res.arrayBuffer() ), style: 'normal', weight: 700 } ]*/ } ); }

I see that similar issues were fixed back in July 2023 among hobby users with a limit of 1MB, yet they seem to persist while I am using a PRO plan with edge function limit of 2MB.

Activity

  1. leerob commented on Jan 19, 2024

    @leerob
    Contributor

    We'll soon be moving to Partial Prerendering which runs on Node.js #1236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions