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 ff6c9e2 commit fa7e230Copy full SHA for fa7e230
tests/output/bug63377.phpt
@@ -19,7 +19,7 @@ if (PHP_OS == 'Linux') {
19
$infos[$index] = $value;
20
}
21
$freeMemory = $infos['memfree']+$infos['buffers']+$infos['cached'];
22
- if ($freeMemory < 2100*1024*1024) {
+ if ($freeMemory < 3072*1024*1024) {
23
die('skip Not enough memory.');
24
25
@@ -38,7 +38,7 @@ elseif (PHP_OS == 'FreeBSD') {
38
$freeMemory = ($infos['vm.stats.vm.v_inactive_count']*$infos['hw.pagesize'])
39
+($infos['vm.stats.vm.v_cache_count']*$infos['hw.pagesize'])
40
+($infos['vm.stats.vm.v_free_count']*$infos['hw.pagesize']);
41
42
43
44
0 commit comments