Hi Scott--

tough to say without understanding how you structured your app
pls send all configuration files

Thanks
Martin
----- Original Message -----
From: "Scott Mueller" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Wednesday, March 19, 2008 12:53 PM
Subject: Running out of memory too easily in Tomcat 6.0.16


> 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.
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to