Just to double check against tomcat 4.1.12, the memory usage seems
normal to me John.  After tomcat starts up, it is using 23megs.  My
webapp loads when tomcat starts up, so your numbers may be lower.  The
system has 256megs of memory and 750mhz cpu.

after I I hit all the pages in /examples/jsp/ directory, the memory
allocated to java is 40megs.

I even ran it with OptimizeIt and I don't see any memory leaks.

peter


peter lin wrote:
> 
> that is unusual. I've done baseline performance tests with the standard
> examples and haven't seen that kind of behavior with 4.1.10-12.  Can you
> start tomcat with verbose:gc and see what kind of output you're
> getting.  Just because the memory allocated to Java is 58megs at the
> end, it doesn't mean it's actually using all of it actively.  getting
> the GC output will tell you how much memory is being used, when GC runs
> and whether or not a fullGC ran.
> 
> in past experience with 4.0.4, after loading all the example pages
> tomcat's memory allocation is around 45megs.
> 
> peter
> 
> John Trollinger wrote:
> >
> > Ok,
> >
> > I did some testing running 4.1.14 as a service...
> >
> > Now my knowledge of memory management is not so good so this might mean
> > nothing.
> >
> > When running as a service if I goto every example jsp page (the examples
> > that come with the install)
> >
> > Compiled
> > Memory starts at 37872 and ends at 39048
> >
> > Not compiled
> > Memory starts at 39635 and ends at 58760
> >
> > Does this not look like a memory leak in the jsp compile code??
> >
> > Thanks,
> >
> > John
> >
> > > -----Original Message-----
> > > From: Holger Brozio [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, November 20, 2002 12:14 PM
> > > To: Tomcat Developers List
> > > Subject: Re: Javac memory leak
> > >
> > >
> > > I also have no memory leak problems now with Tomcat 4.1.12.
> > > But i'm using jikes instead of javac as jsp page compiler.
> > >
> > > Whats about switching to jikes. If the memory leak problem is
> > > gone with jikes, javac still leaks memory, otherwise it is a
> > > problem in the jsp pages.
> > >
> > > Cheers
> > >
> > > Holger
> > > ----- Original Message -----
> > > From: "John Trollinger" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, November 20, 2002 3:39 PM
> > > Subject: Javac memory leak
> > >
> > >
> > > > Does anyone know if the javac memory leak still exists
> > > (1.4.1 docs say
> > > > it does not).
> > > >
> > > > I have a test the goes through a bunch of jsp pages and if they are
> > > > not precompiled I get a out of memory exception.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > John
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:tomcat-dev-> [EMAIL PROTECTED]>
> > > For
> > > additional commands,
> > > e-mail: <mailto:[EMAIL PROTECTED]>
> > >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to