Jelajahi Sumber

Merge branch 'candidate-6.0.0'

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 tahun lalu
induk
melakukan
f1995939e1
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      roxie/roxiemem/roxiemem.cpp

+ 2 - 0
roxie/roxiemem/roxiemem.cpp

@@ -3800,6 +3800,8 @@ public:
         if (spillSize > systemMemoryLimit)
             spillSize = systemMemoryLimit;
         maxPageLimit = (unsigned) PAGES(bytes, HEAP_ALIGNMENT_SIZE);
+        if (maxPageLimit == 0)
+            maxPageLimit = UNLIMITED_PAGES;
         spillPageLimit = (unsigned) PAGES(spillSize, HEAP_ALIGNMENT_SIZE);
 
         if (memTraceLevel >= 2)