diff --git a/src/node.cc b/src/node.cc index d322590da0d..b67f8101972 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1484,7 +1484,7 @@ v8::Handle MemoryUsage(const v8::Arguments& args) { heap_used_symbol = NODE_PSYMBOL("heapUsed"); } - info->Set(rss_symbol, Integer::NewFromUnsigned(rss)); + info->Set(rss_symbol, Number::New(rss)); // V8 memory usage HeapStatistics v8_heap_stats;