Recently discovered that conda gets killed when the devcontainer is launched inside codespaces.
This might be related:
https://stackoverflow.com/questions/78237889/codespace-terminates-my-code-within-seconds
Using the classic solver instead may help reduce memory, but at a large delay cost.