This question already has an answer here:
I have a linux server with tomcat and MySql installed on it, with axis2 as well.
At first I started with ~400MB allocated I deployed my project and still memory allocation was the same.
But then I tried to use Log4j, which I think caused the problem. Problem is that not I have ~800MB allocated. Then I removed the service I deployed and still 800MB allocated.
What have I done wrong? How can I check what have done wrong and fix it?