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{
RSS: mem.WorkingSetSize,
VMS: mem.PagefileUsage,
RSS: uint64(mem.WorkingSetSize),
VMS: uint64(mem.PagefileUsage),
}
return ret, nil

Loading…
Cancel
Save