We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6cb51 commit ea28d4fCopy full SHA for ea28d4f
+stdlib/ram_total.m
@@ -11,7 +11,7 @@
11
bytes = uint64(0);
12
13
14
-if stdlib.dotnet_api() >= 3
+if stdlib.dotnet_api() >= 6
15
% .NET is 2-3x faster than Java for this
16
% https://learn.microsoft.com/en-us/dotnet/api/system.gcmemoryinfo.totalavailablememorybytes
17
bytes = System.GC.GetGCMemoryInfo().TotalAvailableMemoryBytes;
test/TestSys.m
@@ -73,7 +73,7 @@ function test_cpu_arch(tc)
73
end
74
75
function test_ram_total(tc)
76
-tc.assumeTrue(stdlib.has_dotnet() || stdlib.has_java())
+tc.assumeTrue(stdlib.dotnet_api() >= 6 || stdlib.has_java())
77
78
t = stdlib.ram_total();
79
tc.verifyGreaterThan(t, 0)
0 commit comments