We are trying to run 2 applications on tomcat which is on VPS. The memory allocated is 512MB and burstable ram is 1256MB. Now both both these applications have unique class names as folder names are different. These are Java, JSF , Spring , hibernate applications.
Both of them are under respective folders packaged as two different wars.
Whenever we try to run them together, we get OutOfMemoryExceptions.
Are we doing something wrong or we need more RAM here ?