I have been thinking about how to manage RAM between different 3 java webapps. I have blurred concepts in mind. Deploy all the web apps in the same tomcat7
instance or have 3 different instances
of tomcat 7 in which I will deply a web app each.
But the big questions is how to efficiently share 10GB
of the box (12GB RAM) among them? let's say I have 3 GB for mysql, so app A takes 4GB
, app B 2GB
and C 1GB
.
what are the known and best practice to achieve this?