Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
    
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 Feb 6 '12 at 11:00
    
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 Feb 6 '12 at 11:22

2 Answers 2

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

share|improve this answer
    
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 Feb 7 '12 at 9:35

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

.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.