Casting the values of working set and page file to uint64

pull/222/head
Diptanu Choudhury 9 years ago
parent 5c1bfed855
commit af4c8608c9

@ -257,8 +257,8 @@ func (p *Process) MemoryInfo() (*MemoryInfoStat, error) {
} }
ret := &MemoryInfoStat{ ret := &MemoryInfoStat{
RSS: mem.WorkingSetSize, RSS: uint64(mem.WorkingSetSize),
VMS: mem.PagefileUsage, VMS: uint64(mem.PagefileUsage),
} }
return ret, nil return ret, nil

Loading…
Cancel
Save