logo       

Re: Memory usage: msg#00089

java.jetty.support

Subject: Re: Memory usage

I have noticed something similar (4.1.n & 4.2.2, WinNT). In my case I
do the
stopping and starting programatically in the embedded web server (by
stopping and restarting each of the contexts), and I have noticed
significant memory creep. I did originally think it was my classes,
but after adding lots of debug and explicit destroy methods I am not
so sure anymore. It doesn't bother me too much, as it only really
effects development (The customers would usually be told to stop and
restart the web server process).

Rob

--- In jetty-support@xxxxxxxxxxxxxxx, Scott Eade <seade@xxxx> wrote:
> I am using Jetty as the servlet container on my development machine,
which
> happens to be running win2k. I am noticing that as I stop and
start the
> application I am developing (using the admin servlet) the memory
usage of
> the jetty service I use to run jetty grows and grows until swapping
starts
> to occur. At this point I usually restart the service to get things
moving
> again.
>
> Now I know all of the stopping and starting I am doing is peculiar
to
> development, but still I would expect the memory usage to be more
stable, as
> it was with tomcat (though it was much slower ;-).
>
> Can anyone give me a clue as to what might be causing this
behaviour. I am
> also curious if I should expect to see similar behaviour on linux
when I
> start using Jetty for production? I would imagine that it would be
less
> apparent as I am unlikely to be restarting the webapp as frequently
as I do
> in development, but it will still happen.
>
> Thanks,
>
> Scott


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CefplB/TM
---------------------------------------------------------------------~->

For the latest information about Jetty, please see http://jetty.mortbay.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise