浏览代码

HPCC-13802 Fix misleading memory exception - reported K vs bytes

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Jake Smith 10 年之前
父节点
当前提交
10909d85e4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      system/jlib/jbuff.cpp

+ 2 - 2
system/jlib/jbuff.cpp

@@ -117,8 +117,8 @@ public:
     { 
         str.append("Jbuff: Out of Memory (").append((unsigned __int64)wanted);
         if (got) 
-            str.append(',').append((unsigned __int64)(got/1024));
-        return str.append("k)");
+            str.append(',').append((unsigned __int64)got);
+        return str.append(")");
     }
     MessageAudience errorAudience() const { return MSGAUD_user; }
 };