Contents
What the error means
Killed with no other message means the system ended the process, and the most common reason is that it went over your account’s memory limit. On hosts running CloudLinux each account has a memory limit, and everything you run counts against it together: Claude Code itself, the commands it runs, and your site.
Common causes
- Account memory under 4 GB: the minimum Anthropic lists for Claude Code.
- Heavy commands at the same time:
npm install, a front-end build and many tests at once. - A very long session: a session’s memory grows with long work.
- Your site runs on the same account: its visitors use the same memory.
The fix, step by step
- Pick up where you left off:
claude --continue
- Find the limit: check resource usage in your hosting panel, and look for memory-limit hits at the time it stopped.
- Split the work: ask Claude Code to run builds and tests step by step, not all together.
- Start a new session for new tasks instead of one very long session.
- If the build itself gets killed: see Node heap out of memory and npm install killed.
When you need something bigger
If it keeps stopping during normal work, the account doesn’t suit Claude Code. You have two ways:
| Way | When it fits |
|---|---|
| An account with 4 GB or more and SSH | You want Claude Code running on the server itself |
| Claude Code on your computer, MCP to the server | You want the work done on your computer and the hosting controlled remotely |
The full comparison is in Claude Code over SSH or MCP.
Prevention
- Don’t run Claude Code on a small account that serves a busy site.
- Run heavy commands away from peak hours.
On ArabyHost
Our AI and Developer plans are made for this: 4 GB of RAM or more depending on the plan, secure SSH, and Node.js 24 and Python 3.12 ready, so Claude Code runs on the server without being killed during normal work. On every plan you can also run Claude on your computer and connect it to your account through Araby MCP.
FAQ
How much RAM does Claude Code need?
Anthropic lists 4 GB of RAM or more in its system requirements. The commands Claude Code runs, such as npm install, builds or tests, need memory on top of that.
What does the memory warning inside Claude Code mean?
It appears when a session's memory passes a high mark after long work. Restart Claude Code, then run claude --continue to carry on the same conversation with less memory.
Should I run Claude Code on shared hosting?
Most shared hosting gives no SSH or little memory. It's better to run Claude Code on your computer and connect it to your account through MCP, or pick a plan made for this use.