NetXMS Agent on Windows Server - Physical Free memory returns incorrect value
-
Using 2.2.16 agent on Windows Server 2016 an incorrect value is returned for System.Memory.Physical.Free . It currently returns values near zero, but the actual value is 6GB at that time as seen from task manager. When i look at task manager and checked used memory, i can see the System.Memory.Physical.Used is returned correctly.
bug?


-
The value NetXMS returns is correct. Your system does not have 6GB of free memory, it has 1.4GB.
It is using 2.1GB for applications and 4.5GB for Cache. Adding that up means the system is using 6.6GB of RAM, which leaves 1.4GB free (which is shown on the graph, the returned value is not "near zero").You are confusing free memory with available memory. Memory used for caching is "available", but it is not "free".
Available memory is a different DCI: System.Memory.Physical.Available and it would have returned a value of 5.9GB at that time, which also matches your Task Manager screenshot. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login