Merge pull request #2612 from xmcclure/largestring
authormonojenkins <jo.shields+jenkins@xamarin.com>
Sat, 13 Feb 2016 06:05:32 +0000 (06:05 +0000)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Sat, 13 Feb 2016 06:05:32 +0000 (06:05 +0000)
commit15d74eeea38c93c685278e29333de313b7fe6a63
tree7b58387a53ae39a7119dd0b87b6524779ee4b691
parente70b51b10b733e4136c9c2211b37679a8aee3038
parent712bd53f5bc6f6e508d2f771136a53b930bb4afb
Merge pull request #2612 from xmcclure/largestring

Do not run 4GB string tests on low memory systems (fixes #38392)

"Low memory" here is defined as 32-bit, less than 6GB of physical RAM, or mobile (since mobile lacks the class for querying physical RAM).

Without this patch, one of the corlib tests allocates 4 GB of RAM, which causes OOM crashes on low-memory Jenkins instances and also mobile phones.