Open jkotas opened 1 year ago
var l = new List<object>(); for (; ; ) l.Add(new object());
Run the native aot compiled binary with with export DOTNET_GCHeapHardLimit=2000000 set
export DOTNET_GCHeapHardLimit=2000000
Aborted
Process is terminating due to OutOfMemoryException
(Reported by partner team.)
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas See info in area-owners.md if you want to be subscribed.
Repro
Run the native aot compiled binary with with
export DOTNET_GCHeapHardLimit=2000000
setActual result
Aborted
Expected result
Process is terminating due to OutOfMemoryException
(Reported by partner team.)