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 b378344 commit ed8fd1eCopy full SHA for ed8fd1e
+stdlib/ram_free.m
@@ -24,7 +24,9 @@
24
bytes = ram_free_java();
25
elseif stdlib.has_python()
26
bytes = py_ram_free();
27
-else
+end
28
+
29
+if bytes <= 0
30
bytes = ram_free_system();
31
end
32
+stdlib/ram_total.m
@@ -15,7 +15,9 @@
15
bytes = System.GC.GetGCMemoryInfo().TotalAvailableMemoryBytes;
16
elseif stdlib.has_java()
17
bytes = ram_total_java();
18
19
20
21
bytes = ram_total_system();
22
23
0 commit comments