Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

document env var workaround for output size (#500)

Akshay Agrawald1e7b670f152
diff --git a/marimo/_messaging/ops.py b/marimo/_messaging/ops.py
index bcb1057497..506b4e8c43 100644
--- a/marimo/_messaging/ops.py
+++ b/marimo/_messaging/ops.py
@@ -87,7 +87,17 @@ class CellOp(Op):
Your output is too large for marimo to show. It has a size
of {size} bytes. Did you output this object by accident?
- If this limitation is a problem for you, please reach out
+ If this limitation is a problem for you, you can configure
+ the max output size with the environment variable
+ `MARIMO_OUTPUT_MAX_BYTES`. For example, to increase
+ the max output to 10 MB, use:
+
+ ```
+ export MARIMO_OUTPUT_MAX_BYTES=10_000_000
+ ```
+
+ Increasing the max output size may cause performance issues.
+ If you run into problems, please reach out
to us on [Discord](https://discord.gg/JE7nhX6mD8) or
[Github](https://github.com/marimo-team/marimo/issues).
"""