Hi, I have a very small and simple Spring + Hibernate application running in Tomcat 6.0.16. During testing I'm running into many of the following errors with Tomcat: javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
I have to shutdown and startup tomcat every 3rd redeployment. So I have 3 questions for anybody generous enough to help me: Is this normal for a tiny project in the beginning stages of development (I'm guessing due to Spring & Hibernate)? What is the proper way to increase memory allocated to Tomcat? If I have 3gbytes of RAM, should I allocate all 3gbytes or possibly more? The idea being memory allocated that I don't have will be swap and not cause tomcat to crash. Thanks so much for any help.