-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Add Compiler Server Workaround for 32-bit Linux #16405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
akoeplinger
merged 1 commit into
mono:master
from
steveisok:cs-is-memory-available-workaround
Aug 22, 2019
Merged
Add Compiler Server Workaround for 32-bit Linux #16405
akoeplinger
merged 1 commit into
mono:master
from
steveisok:cs-is-memory-available-workaround
Aug 22, 2019
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nux. Currently, if the process is 32-bit, roslyn tries to determine how much memory is available. To do that, it tries to pinvoke into GlobalMemoryStatusEx, which is not supported on mono.
akoeplinger
approved these changes
Aug 22, 2019
Member
|
@monojenkins backport 2019-08 |
Contributor
|
@akoeplinger backporting to 2019-08 failed, the patch results in conflicts: Please backport manually! |
Member
|
Roslyn issue: dotnet/roslyn#38211 |
steveisok
pushed a commit
to steveisok/mono
that referenced
this pull request
Aug 22, 2019
Currently, if the process is 32-bit, roslyn tries to determine how much memory is available. To do that, it tries to pinvoke into GlobalMemoryStatusEx, which is not supported on mono. Without it, the compiler server bombs on https://github.com/dotnet/roslyn/blob/0e63260c5afb3fb5b74c357dd250e500172bcd63/src/Compilers/Server/VBCSCompiler/NamedPipeClientConnection.cs#L55-L59 Backport of mono#16405
This was referenced Aug 22, 2019
akoeplinger
pushed a commit
that referenced
this pull request
Aug 23, 2019
Currently, if the process is 32-bit, roslyn tries to determine how much memory is available. To do that, it tries to pinvoke into GlobalMemoryStatusEx, which is not supported on mono. Without it, the compiler server bombs on https://github.com/dotnet/roslyn/blob/0e63260c5afb3fb5b74c357dd250e500172bcd63/src/Compilers/Server/VBCSCompiler/NamedPipeClientConnection.cs#L55-L5 Backport of #16405
akoeplinger
pushed a commit
that referenced
this pull request
Aug 23, 2019
Currently, if the process is 32-bit, roslyn tries to determine how much memory is available. To do that, it tries to pinvoke into GlobalMemoryStatusEx, which is not supported on mono. Without it, the compiler server bombs on https://github.com/dotnet/roslyn/blob/0e63260c5afb3fb5b74c357dd250e500172bcd63/src/Compilers/Server/VBCSCompiler/NamedPipeClientConnection.cs#L55-L59 Backport of #16405
ManickaP
pushed a commit
to ManickaP/runtime
that referenced
this pull request
Jan 20, 2020
…nux. (mono/mono#16405) Currently, if the process is 32-bit, roslyn tries to determine how much memory is available. To do that, it tries to pinvoke into GlobalMemoryStatusEx, which is not supported on mono. Without it, the compiler server bombs on https://github.com/dotnet/roslyn/blob/mono/mono@0e63260c5afb3fb5b74c357dd250e500172bcd63/src/Compilers/Server/VBCSCompiler/NamedPipeClientConnection.cs#L55-L59 Commit migrated from mono/mono@fbdad78
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, if the process is 32-bit, roslyn tries to determine how much
memory is available. To do that, it tries to pinvoke into GlobalMemoryStatusEx,
which is not supported on mono.
Without it, the compiler server bombs on https://github.com/dotnet/roslyn/blob/0e63260c5afb3fb5b74c357dd250e500172bcd63/src/Compilers/Server/VBCSCompiler/NamedPipeClientConnection.cs#L55-L59