Skip to content

Conversation

@akshayka
Copy link
Contributor

marimo edit today requires shared memory; this change updates the CLI to exit with an informative error if we detect that shared memory is not available

This fixes an issue in which running marimo on minimal sandboxes that don't have /dev/shm led to a confusing error state, with the frontend repeatedly failing to connect.

marimo edit today requires shared memory; this change updates the CLI
to exit with an informative error if we detect that shared memory is not
available

This fixes an issue in which running marimo on minimal sandboxes
that don't have /dev/shm led to a confusing error state, with the
frontend repeatedly failing to connect.
@vercel
Copy link

vercel bot commented Jan 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
marimo-docs Ready Ready Preview, Comment Jan 21, 2026 7:31pm

Request Review

…github.com:marimo-team/marimo into aka/fix-fail-fast-when-shared-memory-not-available
" - If running in Docker, ensure /dev/shm is mounted with sufficient size\n"
" (e.g., --shm-size=256m or -v /dev/shm:/dev/shm)\n"
" - If /dev/shm is full, clear unused shared memory segments\n"
" - Use 'marimo run' instead if you only need to view notebooks"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another option is to warn and then disable virtualfiles (we do support disabling virtual files and it will inline data)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh interesting. I think this is fine for now, but if someone opens an issue we can consider

@akshayka
Copy link
Contributor Author

Failing test looks unrelated (this PR does not have API changes)

@akshayka akshayka merged commit 070264c into main Jan 21, 2026
45 of 50 checks passed
@akshayka akshayka deleted the aka/fix-fail-fast-when-shared-memory-not-available branch January 21, 2026 23:13
botterYosuke pushed a commit to botterYosuke/marimo that referenced this pull request Jan 22, 2026
marimo edit today requires shared memory; this change updates the CLI to
exit with an informative error if we detect that shared memory is not
available

This fixes an issue in which running marimo on minimal sandboxes that
don't have /dev/shm led to a confusing error state, with the frontend
repeatedly failing to connect.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
botterYosuke pushed a commit to botterYosuke/marimo that referenced this pull request Jan 23, 2026
marimo edit today requires shared memory; this change updates the CLI to
exit with an informative error if we detect that shared memory is not
available

This fixes an issue in which running marimo on minimal sandboxes that
don't have /dev/shm led to a confusing error state, with the frontend
repeatedly failing to connect.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

3 participants