Q:

How many JVM process on a hardware

Possible Duplicate:
Can you help me with my capacity planning? 

If CPU and RAM on a production host allows more than one JVM (server instances) to run in parallel (to build server farm). How do you arrive at optimal number of JVM processess? What type of "scaling" it is?

A:

Usually with the JVM you stop when you run out of RAM, or when the heap is squeezed enough that your CPU is thrashed from all the futile garbage collection.
This kinda counts as "scaling out", but you should really be careful.  One out of control JVM can and will bring down every JVM on the server.  Consider virtualization instead.

