VIRTUALMEMORY on 3.10.0

Forums Desktop Info VIRTUALMEMORY on 3.10.0

Viewing 3 reply threads
  • Author
    Posts
    • #5764
      gotgot
      Participant

        Win11 21H2 / DesktopInfo 3.10.0

        On my system VIRTUALMEMORY on DI 3.10.0 produces some strange output:

        3.10.0:
        VIRTUALMEMORY= interval:5, chart:bar max:100 series1:3 threshold:80,display:%1[3.1b]B / %2[3.1b]B (%3% used)
        Result:
        Virtual Memory 4,2GiB / 128,0TiB (0% used)

        2.11.0:
        Line:
        VIRTUALMEMORY= interval:5, chart:bar2 scale:linear max:100 series1:3 threshold:75, row-text:Virtual Memory:, display:%1[3.1b]B / %2[3.1b]B : %3% used
        Result:
        Virtual Memory 117,7MB / 2,0GiB : 5% used

      • #5767
        GlennGlenn
        Keymaster

          128TB seems excessive. I’ll look into that. The 2GB thing on version 2 is due to the 32 bit application trying to read the big numbers. You’ll notice the 32 bit version of version 3 shows 2GB also.

        • #5771
          GlennGlenn
          Keymaster

            According to what I’ve read, this is the expected result. It is reporting some kind of theoretical upper limit of virtual memory available to the process irrespective of physical ram and/or swap space.

            Official MS Docs: https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-globalmemorystatusex

            Some Random Programmer Thoughts: https://groups.google.com/g/microsoft.public.vc.mfc/c/i7UzUJOYziE

            It’s interesting academically but not very useful. Those 3 items, PHYSICALRAM, VIRTUALMEMORY and PAGEFILE, should probably be merged so we can better use the numbers.

          • #5783
            gotgot
            Participant

              I have removed VIRTUALMEMORY and PAGEFILE removed from my INI.

              I opened Systeminfo.exe and it shows a more reasonable value on virtual memory:
              Total virtual memory: 36.4 GB
              Available virtual memory: 22,3 GB
              So there must be a way to get proper data on virtual memory.

              Having Systeminfo.exe open, I noticed a difference in values of PAGEFILE shown by Desktop Info and Systeminfo:
              Desktop info: 14GB out of 36GB 38% used
              System info: Size of Pasgefile: 4,75 GB

              • #5787
                GlennGlenn
                Keymaster

                  msinfo shows a Total Virtual Memory figure that seems to equate to the Page File in Desktop Info.

                  • This reply was modified 9 months ago by GlennGlenn.
            Viewing 3 reply threads
            • You must be logged in to reply to this topic.
            Glenn's Page