Getting more information about memory from Perfmon

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

dublintech

Posted 2012-02-06T10:45:59.543

Reputation: 903

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

Answers

1

Task Manager displays a half-dozen or so Memory counters on a per-process basis. Also Page Faults, and more.

kreemoweet

Posted 2012-02-06T10:45:59.543

Reputation: 3 884

Yes but can I direct these to log files? Or set alerts from them? You know, that fact that task manager does me make me believe perfmon must be able to. – dublintech – 2012-02-07T09:35:06.973

0

Have a look at RamMap, not sure if it has all the features you need. I don't think it logs anything though.

.

Moab

Posted 2012-02-06T10:45:59.543

Reputation: 54 203