You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
openshell sandbox create --from allocates unbounded memory during image push, scaling to consume all available RAM #655
No agent diagnostic was run. The gateway did not survive long enough to support agent interaction — each run left the gateway in a broken state post-OOM, requiring a full delete and re-onboard before the next attempt.
Diagnosis was performed manually via dmesg and free -h output across three runs.
Description
openshell sandbox create --from is killed by the kernel OOM killer every time during the image push phase. The process allocates RAM unboundedly and synchronously — RSS grows to consume all available physical memory regardless of how much is available, and the allocation is fast enough that swap is never used before the OOM killer fires.
All 35 Dockerfile build steps complete successfully, and the image is built (~2.3GB). The kill happens consistently at the push-into-gateway step.
After the kill, the gateway is left in a broken state and requires a full delete and re-onboarding before the next attempt.
Expected: Image push into gateway uses bounded memory proportional to a streaming buffer, not total image size.
Actual: Process is killed every time. More RAM does not help — RSS scales with available memory. Swap does not help — swapents:0 confirms swap is never touched before the kill.
Reproduction Steps
Onboard a gateway: nemoclaw onboard
Run sandbox create from a local Dockerfile producing a ~2.3GB image:
Yes, I agree, this looks like the same issue. I havent looked into openshell codebase yet to see if I can solve and create a PR, sadly work is a little busy but maybe over the coming long weekend I will find time - If I do, i'll message to see if it solves your issue also
Activity
minhdqdev commentedon Mar 30, 2026
Similar issue to #602
ChrisMail-MXA commentedon Mar 30, 2026
Yes, I agree, this looks like the same issue. I havent looked into openshell codebase yet to see if I can solve and create a PR, sadly work is a little busy but maybe over the coming long weekend I will find time - If I do, i'll message to see if it solves your issue also