dotnet / core

.NET news, announcements, release notes, and more!
https://dot.net
MIT License
21k stars 4.91k forks source link

can't run dotnet on 8 gb ram android environment #8713

Open memesmith1 opened 1 year ago

memesmith1 commented 1 year ago

Problem encountered on https://dotnet.microsoft.com/en-us/learn/languages/fsharp-hello-world-tutorial/install Operating System: linux

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

I am developing in termux on android. I installed ubuntu via proot. Then In ubuntu I installed dotnet-sdk-7.0.

I have to install it through the package manager rather than getting the binary.

This is the result when I try dotnet -h

root@localhost:~# dotnet -h GC heap initialization failed with error 0x8007000E Failed to create CoreCLR, HRESULT: 0x8007000E root@localhost:~#

I get the same error when I run dotnet new

I need to be able to run dotnet in this 8 gb android environment even if I need to run it in swapspace/physical memory

buyaa-n commented 1 year ago

I am developing in termux on android. I installed ubuntu via proot. Then In ubuntu I installed dotnet-sdk-7.0.

Might not supported tag @dotnet/linux-team for clarification

mairaw commented 8 months ago

@leecow can you help here? is this a supported scenario?

leecow commented 8 months ago

No, not specifically supported. @memesmith1, I've never worked on an Android device - what's the processor chipset?

memesmith1 commented 8 months ago

Don't you reason that it is problematic though for a hello world to take over a gigabyte of ram?

memesmith1 commented 8 months ago

I was on a Google pixel 7a in an Ubuntu container