Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libgtop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • libgtop
  • Issues
  • #35

Closed
Open
Created Feb 21, 2015 by Bugzilla@bugzilla-migration💬Reporter

16.0 EiB memory usage in the process list on FreeBSD

Submitted by Ting-Wei Lan @lantw

Link to original bug (#744890)

Description

Created attachment 297495 Screenshot of gnome-system-monitor on FreeBSD

Please see the attached screenshot. Memory usage of some processes is 16 EiB.

It seems the odd value comes from function get_process_memory_info in src/proctable.cpp:

info->mem = info->memres - info->memshared;

If the value of resident memory is smaller than the value of shared memory, it will cause the memory usage becomes negative, which is incorrect.

The value of resident memory is directly provided by the kernel. It is the same as the RSS field of the output of ps command.

The value of shared memory is calculated from the virtual memory map. It scans the map, find entries with vnode object type, and return the sum of size of mapped files.

Is this a problem of gnome-system-monitor or libgtop?

Attachment 297495, "Screenshot of gnome-system-monitor on FreeBSD":
Screenshot_from_2015-02-21_19_15_25

Assignee
Assign to
Time tracking