google-code-export / rainmeter

Automatically exported from code.google.com/p/rainmeter
1 stars 0 forks source link

Virtual Bytes usage for an x64 process with perfmon plugin does not display value greater than 4 GB #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Use x64 version of rainmeter and measure the virtual bytes usage of a 
process that uses more than 4 GB of virtual memory.
1.
[MeasureVM]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Process"
PerfMonCounter="Virtual Bytes"
PerfMonInstance="any process"
PerfMonDifference=0

2.
;convert bytes to GB
[convertVMtoGB]
Measure=Calc
Formula=MeasureVM/((1024)*(1024)*(1024))
Maxvalue=128
;maxvalue based on physical memory limit in Windows Vista x64 (128 GB)
(http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx)
MinValue=0

;Display value
[MeterVM]
Meter=STRING
X=15
Y=25
MeasureName=convertVMtoGB
Text=VM: %1 GB
NumofDecimals=2
FontFace=Veranda
StringStyle=BOLD

What is the expected output? What do you see instead?
once the process uses more than 4 GB, the value should not start over at 0.
I see the output start over and instead of 4.5GB I see 0.5 GB

What version of the product are you using? On what operating system?
Rainmeter-1.1-r223-64bit-beta.exe  

Please provide any additional information below. If the problem is a
related to some config option attaching a example is always a good idea.
Try to keep it as simple as possible and make sure that it is a fully
working Rainmeter config (i.e. it includes all graphics too).

If you are reporting a crash bug please include a download link to the
crash dump: http://code.google.com/p/rainmeter/wiki/CrashBugs

Original issue reported on code.google.com by brentmcd...@gmail.com on 5 Oct 2009 at 6:18

GoogleCodeExporter commented 9 years ago

Original comment by spx268 on 3 Feb 2010 at 3:34

GoogleCodeExporter commented 9 years ago
Fixed in r328.

Original comment by spx268 on 4 Feb 2010 at 7:21