Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I keep a Windows Tomcat 6 service process from having so many page faults? It has 9M faults. I have plenty of memory and want to keep the entire JVM in RAM and keep it from swapping, to make it faster. The Tomcat service is 8GB and the computer has 24GB RAM. The server is Windows Server 2008 R2 Enterprise.

Here is screenshot of TaskManager:

task manager

share|improve this question
I don't know anything that will prevent this. Maybe you can make a RAM Disk for your swapfile – Marcel Janus Jul 16 '12 at 14:32
Is something actually wrong? Or are you just looking for ways to take flexibility away from the operating system? (Even though it has much more information than you do about how best to use memory.) – David Schwartz Jul 16 '12 at 19:06
Yes, I want to take flexibility from the OS. The whole server is dedicated to this web service process. I want it to run faster. I want anything else that needs too much RAM to fail. – Chloe Jul 17 '12 at 13:43
@Chloe: Unfortunately, that won't work. Instead of failing, it will cause the server to squeeze its cache, increasing the I/O load on the server and slowing it down. You cannot fix something that is not broken, but you can make it very, very fragile. – David Schwartz Jul 18 '12 at 8:59

If those are mostly soft faults, you probably don't have a problem.

Are they hard or soft faults? What are the perfmon numbers for both? Have you noticed any actual problems, or are you just pre-emptively trying to optimize?

share|improve this answer
Preemptive. I don't know if hard/soft. I have not run perfmon in a while. Yes, there are many problems. – Chloe Jul 17 '12 at 13:57
As I said : if those are mostly soft faults, you don't have a problem , unless you have any other evidence of actual problems. I'm not seeing you present any other problems here. It will take you a couple of minutes to set up perfmon to show the difference between soft and hard faults for this process. Task Manager is a starting point, but it's a fairly blunt instrument. – mfinni Jul 17 '12 at 14:03

Your Answer


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.