Skip to content

Conversation

@Andro-Master
Copy link
Contributor

Fixed by adding export DOTNET_GCHeapHardLimit=1C0000000 to .cs runner in universal_runner.sh

Fixed by adding export DOTNET_GCHeapHardLimit=1C0000000 to .cs runner in universal_runner.sh
@github-actions
Copy link

github-actions bot commented Oct 14, 2025

PR Summary

Resolved an issue where .NET GC heap initialization failed when running C# files. This was addressed by adding the export DOTNET_GCHeapHardLimit=1C0000000 environment variable to the .cs runner section within universal_runner.sh, ensuring proper memory allocation for .NET applications.

Changes

File Summary
core/main/src/main/assets/terminal/universal_runner.sh Modified the universal_runner.sh script to include export DOTNET_GCHeapHardLimit=1C0000000 for C# file execution. This change is applied before dotnet new console --force to prevent GC heap initialization failures when running .NET applications.

autogenerated by presubmit.ai

@RohitKushvaha01 RohitKushvaha01 merged commit 3b8c9ab into Xed-Editor:main Oct 14, 2025
@Andro-Master Andro-Master deleted the fix/dotnet branch October 14, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants