cloudflare / cloudflare/python-workers-examples

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

Open
#42 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
309
Forks
69
Avg merge
3d 11h
Merged PRs (30d)
13

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.