Merge pull request #222 from diptanu/master

Casting the values of working set and page file to uint64
This commit is contained in:
shirou 2016-06-23 15:14:09 +09:00 committed by GitHub
commit bbb9025bfa
1 changed files with 2 additions and 2 deletions

View File

@ -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