Codespace shutdown during program testing. #189043
Replies: 6 comments 1 reply
-
|
A few concrete things to check, because 5 MB of repo size is basically irrelevant here, Codespaces usually stop unexpectedly because of container/runtime issues, machine resource limits, or a service-side incident, not because the checked-out codebase is small.
|
Beta Was this translation helpful? Give feedback.
-
|
Try these steps: Disable browser memory saver for Codespaces Ensure your Codespaces extension is updated Try connecting from a different browser Check your usage quota at github.com/settings/billing to ensure you haven't exhausted your free hours If the problem persists, open a support ticket with GitHub including your username, repository name, and approximate time of the failures. |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, Codespaces stopping unexpectedly like that can be frustrating, especially when the workspace is small. Since your repository is only around 5 MB, it’s very unlikely that storage itself is the cause. A few things you might want to check when troubleshooting **GitHub Codespaces crashes: 1. Container or runtime restart 2. Dev container configuration
3. Memory / CPU limits 4. Rebuild the Codespace 5. Check Codespace machine type If the issue persists, it may be worth opening a report with **GitHub support and including:
That information usually helps identify whether it’s a container issue, resource limit, or something triggered by the workspace configuration. Hope this helps narrow it down. |
Beta Was this translation helpful? Give feedback.
-
|
Codespace crashes like this are usually memory or CPU related, not storage. 5MB of code is nothing but depending on what you're running during testing, the process itself can spike hard. Check the terminal output right before it dies, there's usually a signal or OOM killer message that tells you exactly what happened. |
Beta Was this translation helpful? Give feedback.
-
|
Based off of what I've dealt with, it's most likely due to your RAM or CPU usage on your computer maxing out from background processes or other processes the Codespace has running. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I was testing a program I am currently developing to improve a current product of mine (hosted on my own servers) and when I was changing some code my codespace just stopped out of nowhere. It wasn't even 10 minutes of me using the Codespace before it stopped and shut down. there is only about 5MB of code so it couldn't be due to storage why the Codespace crashed, but then I tried using the same Codespace again and it crashed again once I started testing again and editing the same block of code. I deactivated all the Codespace extensions that are already in the Codespace (Github AI Copilot extensions) I know that Github was experiencing some Webhook issues today but was fixed. I am just really wondering what could be causing this to happen.
Beta Was this translation helpful? Give feedback.
All reactions