Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
fixed problem with rss memory reporting incorrect number over 4 gigs
Browse files Browse the repository at this point in the history
  • Loading branch information
devdazed authored and bnoordhuis committed Nov 30, 2011
1 parent 2603832 commit 754e23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ v8::Handle<v8::Value> 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;
Expand Down

0 comments on commit 754e23d

Please sign in to comment.