views:

8

answers:

1

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 ?

A: 

There are two potential problems here 1. Multiple web apps using the same connection pool jar. So there were two instances of class in same VM

I have described the problem and solution here Multiple webapps using same c3P0 connection pool

  1. We are using xml/xsl which is consuming too much memory. Need to look deeper into this.
vsingh