Closed GilesBathgate closed 2 years ago
@GilesBathgate, Try to increase pagefile size - https://github.com/actions/virtual-environments/issues/2642#issuecomment-774988591
@al-cheb I will try that, but 65536 seems specifically related to this:
Description This error may be seen when compiling large software projects on Windows platforms. cc1plus.exe is a 32bit Windows application and has access to 2GB of memory on Windows.
Resolution To work around this problem, Windows can be configured to allow 32bit applications access to a 3GB address space.
- Enable 3GB address space for 32bit applications on Windows: From Windows command prompt run: bcdedit /set IncreaseUserVa 3072
- Allow cc1plus.exe to use the larger address space From Windows command prompt run: editbin /LARGEADDRESSAWARE "
/cc1plus.exe“ This problem is scheduled to be fixed in a future release of the SoC EDS Software.
https://www.intel.com/content/www/us/en/support/programmable/articles/000086946.html
@GilesBathgate, Try to increase pagefile size
@al-cheb That seems to have done the trick. My previous comment was in relation to 32bit cc1plus.exe which is not being used.
Description
I am getting random out of memory errors after switching to windows 2022 #4856 .
If I rebuild with the same workflow the errors sometimes disappear and the build completes, although it can take multiple attempts.
The issue never occurred on windows-2019
Virtual environments affected
Image version and build link
Version: 20220220.1
Is it regression?
No response
Expected behavior
No response
Actual behavior
No response
Repro steps
Compile a project.