Commit:    fa7e230c76ddbd1d8e9dff0cfb1c998525873733
Author:    Xinchen Hui <larue...@php.net>         Mon, 10 Dec 2012 18:28:01 
+0800
Parents:   ff6c9e2726ab724707999ed651d1a414336665f2
Branches:  PHP-5.3

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=fa7e230c76ddbd1d8e9dff0cfb1c998525873733

Log:
Need more that 2G memory

Changed paths:
  M  tests/output/bug63377.phpt


Diff:
diff --git a/tests/output/bug63377.phpt b/tests/output/bug63377.phpt
index 75e0af9..e08d9f5 100644
--- a/tests/output/bug63377.phpt
+++ b/tests/output/bug63377.phpt
@@ -19,7 +19,7 @@ if (PHP_OS == 'Linux') {
     $infos[$index] = $value;
   }
   $freeMemory = $infos['memfree']+$infos['buffers']+$infos['cached'];
-  if ($freeMemory < 2100*1024*1024) {
+  if ($freeMemory < 3072*1024*1024) {
     die('skip Not enough memory.');
   }
 }
@@ -38,7 +38,7 @@ elseif (PHP_OS == 'FreeBSD') {
   $freeMemory = ($infos['vm.stats.vm.v_inactive_count']*$infos['hw.pagesize'])
                 +($infos['vm.stats.vm.v_cache_count']*$infos['hw.pagesize'])
                 +($infos['vm.stats.vm.v_free_count']*$infos['hw.pagesize']);
-  if ($freeMemory < 2100*1024*1024) {
+  if ($freeMemory < 3072*1024*1024) {
     die('skip Not enough memory.');
   }
 }


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to