I want to run 5 instances of my java app on a Windows machine. (Please don't flame me about Windows. I love *nix too but its necessary for this project.)
I need to allocate plenty of memory for each instance so I run them like so: java -Xms512m -Xmx512m
Five instances at 1/2 GB each is around 2.5 GB of memory required. So I put 3.5 GB of physical RAM into the server. I run the five apps and I observe the following in Windows Task Manager - Performance:
Physical Memory --------------- Total : 3.5 GB (roughly) Available : 2.5 GB (roughly)
PF Usage : 3.14 GB
Am I reading this wrong or is this telling me that only about 1 GB of physical RAM is being utilized and 3.14 GB of virtual memory/paging is being used? If thats the case then how do I run Java to ensure that I'm not losing performance due to paging?