I'm using JBoss 7.1.1 and i have deployed 4 apps(.war), now the issue is after some time the Java ran out of memory. I don't know which app should have memory leak.
My question is is there a way to restrict the memory to each app or i can find which app is using max memory ?