You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How do we handle OCI Functions disk space exhaustion errors when installing Python libraries ?

I am using OCI Functions (Python runtime) and facing a disk space limitation error while installing Python dependencies, specifically large libraries like Playwright.

During the function build/deployment, the installation fails with errors indicating that the available disk space in the OCI Functions build/runtime environment is exhausted. Since Playwright downloads browser binaries (Chromium, etc.), the function cannot complete the installation successfully.

I understand that OCI Functions have very limited ephemeral disk space and that this space cannot be expanded. However, I need guidance on the recommended architecture or best practices to handle such use cases.

Questions:

  1. What is the correct approach to use heavy Python libraries (e.g., Playwright, wkhtmltopdf) with OCI Functions?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!