Skip to content

内存占用数据获取存在bug,已找到修复方法。 #7

@Tubare

Description

@Tubare

使用时发现软件获取的内存占用率是任务管理器"已提交"中的占用率,包含了虚拟内存,不是物理内存的占用率。
经测试,在客户端源代码的获取内存数据部分第139行:
if (sensor != null && sensor.Value != null)
修改成:
if (sensor != null && sensor.Value != null&& sensor.Index == 0)
即可解决问题。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions