Decreasing RAM use of default environment? #38828
Replies: 1 comment
-
| 
         🕒 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've really been enjoying teaching with GitHub Codespaces -- being able to configure my student's template repos with a .devcontainer that ensures they can drop in a VM at the click of a button that already has precisely the software we need for that specific project already installed is phenomenal. We cut past hours of arbitrary installation debugging and get right to the good stuff.
However, we're really struggling against the OOM killer in the 2-core VMs for educational purposes -- even with relatively elementary code examples. Doing a bit of monitoring on the resource stats, it seems the majority of the RAM is already allocated to core processes for the VM environment (
nodetasks mostly), not the code the students are running.Is there a way to make the vscode environment use a smaller memory footprint, so we might have just a little free RAM left over for our actual coding? We have already cut out some of the nice extensions, which makes me sad since they really do improve user experience.
Alternatively, if the default educational instances could have even an extra gig or two of RAM, it would constitute a very large improvement in the student user experience. I'd love to introduce more people to the magic here with the launch of a free quota tier for everyone, but the overall quality of the experience on the free tier would be so much better with just a tad bit more working memory.
Beta Was this translation helpful? Give feedback.
All reactions