Skip to content

RuntimeError: memory access out of bounds (Pyodide 128MB limit) #42

@deanflaviano

Description

@deanflaviano

I'm using py-wrangler to create a FastAPI to route requests to my AI backend, I'm currently streaming the results, but Pyodide keeps running into memory limits (128MB). Is there a way to configure the memory or are there other options for a python FastAPI deployment on Cloudflare using the edge deployments? I'm running into the memory limit when running "uv run pywrangler dev" locally.

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