Merge pull request #222 from diptanu/master
Casting the values of working set and page file to uint64
This commit is contained in:
commit
bbb9025bfa
|
@ -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…
Reference in New Issue