I advice you to try this solution.
Install two Jboss in cluster.
I suggest reading through some of the other posts in this forum because similar questions have been posted by others.
My guess would be that your application has a memory leak and when the heap fills up you are going into constant garbage collection mode. No amount of JBossAS tuning will help fix that.