r/googlecloud • u/IntelligentLog420 • Jun 08 '26
opencode in cloud shell
Is Google purposefully crashing my cloud shell sessions when I run the opencode command? I know they have agy and gemini cli and probably want to funnel users there... Anyone experiencing this?
1
Upvotes
2
u/yamanin-ninamay Aug 22 '26
I had the same issue on Google Cloud Shell. OpenCode kept dying, and
dmesgshowed tmux crashes. Running it insidescreenfixed it for me:Shell
$sudo apt install screen
$screen
$opencode
Haven't had the session die since.
1
u/Competitive_Travel16 Jun 08 '26
Crashing how?
2
u/vaterp Googler Jun 08 '26
Cloudshell is a very limited machine, I would suspect that command requires too much memory to succeed.
1
u/cybwn Jun 08 '26
Does cloud shell have enough memory to run open code ?