Help re: Increasing Codespace Disk space #210646
Replies: 1 comment
|
Hi Sasha, The “4” shown in the machine-type selector is most likely 4 CPU cores, not 4 GB of disk space. Codespaces machine types bundle CPU, RAM, and storage together, so storage cannot be resized independently. First, inside the codespace, check which resource is actually full: df -h /workspaces
free -h
You can then see the exact machine types GitHub currently allows for that codespace: gh codespace list
gh api /user/codespaces/CODESPACE_NAME/machines \
--jq '.machines[] | [.name, .display_name] | @tsv'Replace gh codespace edit --machine MACHINE_TYPE_NAMEGitHub will ask which codespace to update. The same operation is available at https://github.com/codespaces by selecting If no 64 GB machine appears in the API response, changing the payment plan alone will not add one to the dropdown. A repository can request a minimum storage size in {
"hostRequirements": {
"storage": "64gb"
}
}Commit that file and create a new codespace from the repository. This setting only filters the machine types already available to the account/repository; it cannot make an unavailable machine type appear. Also check whether this is an unpublished codespace created from a template. GitHub does not allow changing the machine type of unpublished codespaces. In that case, publish the work to a repository and create a new codespace from that repository. Official documentation:
If you share the sanitized output of the If this resolves the issue, you can mark the comment as the answer so other users can find the solution more easily. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
Hi All,
I'm building a new app have hit the limit on the disk space. I have a personal account (not an organization) and would need to increase to 64GB or more. There's no option for this in my "machine type" drop down. My options stop at 4GB. I tried altering my payment plan as per a Copilot suggestion (although I think that might have been a rouse to increase how much I spend :))
I've raised two tickets with Support but no word for several days.
Does anyone know how I might resolve this and increase the capacity for memory to 64GB?
Free 1year access to my app (currently in Beta) if you can help. ha!
Beta is at 80-85% complete and in Prod. If you feel to check out beta it's at
www.search.inc
I stupidly found myself trying to change the world. ha!!
In gratitude
Sasha
*Actually Not Evil"
All reactions