2
It is possible to set up counters in windows perform to get information about memory. Some useful counters include:
Pages/sec
Available Bytes
However, this give me information for my entire system. What I'd like would be able to track the amount of memory a particular process (e.g. a JVM) was using. Any tips how to do this?
Thanks
Why on earth would you NOT expect virtual memory to be greater than physical memory? That's part of the whole point of virtual memory. – Jamie Hanrahan – 2015-07-19T01:24:51.623
Physical memory? Virtual memory? What's your outer problem? What do you plan to do with the information? (For example, physical memory tells you more about performance on this machine. But virtual memory tells you more about resource consumption of the application independent of the local system's specifications.) – David Schwartz – 2012-02-06T11:00:06.450
I want to monitor memeory usage of a JVM over a long period of time. I do not expect its virtual memory to be greater than physical memory. The Pages/sec tells me the amount of swapping. I expect this to be very low. It would nice to get both physical and virtual memory but more important to get either for my JVM rather than the entire OS which is what windows does by default. – dublintech – 2012-02-06T11:22:53.833