I have the same problem as Scott. And I'm with Netbeans VWP . 
It appeared when I moved from Netbeans 6.0 and my own Tomcat instance
(5.5.17) to Netbeans 6.1Beta with embedded Tomcat (6.0.16) so it's more
related to the efficiency of Tomcat than a web app problem.


mgainty wrote:
> 
> yes providing configuration files would assist in debugging this scenario
> Thanks
> Martin-
> ----- Original Message -----
> From: "Scott Mueller" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Wednesday, March 19, 2008 6:19 PM
> Subject: Re: Running out of memory too easily in Tomcat 6.0.16
> 
> 
>> Hi Martin,
>>
>> I did absolutely zero configuration of tomcat.  I use the commons
> dbcp/pool
>> for hibernate, not tomcat's connection pool.  And I use acegi for
> security,
>> not tomcat or j2ee's mechanism (though this memory problem was happening
>> before I added acegi).  The only thing I touch with tomcat is
>> startup/shutdown.bat and copying my .war to webapps.  You want me to send
>> all hibernate and spring configuration files?  Some configuration is with
>> annotations..
>>
>> On Wed, Mar 19, 2008 at 4:37 PM, Martin Gainty <[EMAIL PROTECTED]>
> wrote:
>>
>> > 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]
>> >
>> >
>>
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Running-out-of-memory-too-easily-in-Tomcat-6.0.16-tp16161249p16185377.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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