-
Notifications
You must be signed in to change notification settings - Fork 326
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
testhost.x86.exe should be able to handle large addresses. #834
Comments
Current Status:Currently dotnet tooling doesn't have support to use /LARGEADDRESSAWARE for cross plat. See related issue in compiler. Workaround:User can run their test for platform x64. Action:Moving this bug from milestone 15.5 and will address once the above issue will get fixed. |
@Faizan2304 The required compiler feature is already implemented going back to the first VS2015 release. It's just really sneaky. See my comment in the linked issue. 😄 |
@sharwell Cool! Thanks. |
Description
There could be scenarios where testhost.x86.exe requires more than 2 GB of memory. In those cases, current testhost.x86.exe could fail with StackOverFlowException/OutOfMemoryException as 32-bit programs receive only 2 GB of address space.
We should consider using /LARGEADDRESSAWARE flag in testhost.x86.exe.
When this flag is used while compiling, testhost.x86.exe can use up to 4GB of address space.
We also need to investigate the same has to be applied in DataCollector.exe and vstest.console.exe as well.
The text was updated successfully, but these errors were encountered: