You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Roy K. Mayr R." <sy...@uapar.edu> on 2001/08/20 23:41:57 UTC

JVM and use of memory

When I start tomcat, it process use 44M and 16M res. (aprox).
But when I work, and work, and work.... it process use
49,52,60,....80,100,120 M and crash tomcat !!!

I have JSP pages that use 8 beans... then memory used it increases more
quicky....

I'm using:

Tomcat 3.3
JDK 1.3.1
Apache 1.3.20
Solaris 2.8

Help me....!!

Thanks.


Roy


Re: JVM and use of memory

Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Roy K. Mayr R. at sysrom@uapar.edu wrote:

> Thanks...
> 
> Last week I upgrade tomcat from 3.2.2 to 3.3 for to solve the same problem.
> I think that I can release memory (used by servlet or beans) from JVM....
> 
> I will read JSP specification.

Well, if you upgraded to 3.3 to solve the problem, that tells you
something... It's not the container, but the application... 3.2.2 has a
release tag, 3.3 is a beta (B1 or B2)... A memory leakage wouldn't have gone
out in a release tag...

    Pier


RE: JVM and use of memory

Posted by "Roy K. Mayr R." <sy...@uapar.edu>.
Thanks...

Last week I upgrade tomcat from 3.2.2 to 3.3 for to solve the same problem.
I think that I can release memory (used by servlet or beans) from JVM....

I will read JSP specification.

Roy

> -----Mensaje original-----
> De: Pier P. Fumagalli [mailto:pier@betaversion.org]
> Enviado el: Lunes, 20 de Agosto de 2001 22:16
> Para: tomcat-user@jakarta.apache.org
> Asunto: Re: JVM and use of memory
>
>
> AFAIK 3.3 doesn't have any bug related to memory (AFAIK, but I'm not
> developing that engine). You might want to try and downgrade down to 3.2.3
> (which is the last non-beta release), or 4.0b7 which I use on several
> production environments and I've never seen failing for out of memory
> exceptions...
> 98% is something you don't release in your web application/jsps
>
>     Pier
>
> Roy K. Mayr R. at sysrom@uapar.edu wrote:
>
> > I not found nothing unusual... only my outputs
> (System.out.println("") that
> > I use for debuging my JSP pages...
> >
> > Roy
> >
> > (Mark, do you speak spanish ?)
> >
> >> -----Mensaje original-----
> >> De: Mark Castillo [mailto:markc@webfreak.com]
> >> Enviado el: Lunes, 20 de Agosto de 2001 19:14
> >> Para: tomcat-user@jakarta.apache.org
> >> Asunto: Re: JVM and use of memory
> >>
> >>
> >> Roy,
> >>
> >> Do you have any output in the logs either from Tomcat or the JVM?
> >>
> >> --
> >> Mark Castillo
> >> markc@webFreak.com
> >> http://www.webFreak.com
> >>
> >> ----- Original Message -----
> >> From: "Roy K. Mayr R." <sy...@uapar.edu>
> >> To: "TomcatUser" <to...@jakarta.apache.org>
> >> Sent: Monday, August 20, 2001 2:41 PM
> >> Subject: JVM and use of memory
> >>
> >>
> >>>
> >>> When I start tomcat, it process use 44M and 16M res. (aprox).
> >>> But when I work, and work, and work.... it process use
> >>> 49,52,60,....80,100,120 M and crash tomcat !!!
> >>>
> >>> I have JSP pages that use 8 beans... then memory used it
> increases more
> >>> quicky....
> >>>
> >>> I'm using:
> >>>
> >>> Tomcat 3.3
> >>> JDK 1.3.1
> >>> Apache 1.3.20
> >>> Solaris 2.8
> >>>
> >>> Help me....!!
> >>>
> >>> Thanks.
> >>>
> >>>
> >>> Roy
> >>
>


Re: JVM and use of memory

Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
AFAIK 3.3 doesn't have any bug related to memory (AFAIK, but I'm not
developing that engine). You might want to try and downgrade down to 3.2.3
(which is the last non-beta release), or 4.0b7 which I use on several
production environments and I've never seen failing for out of memory
exceptions...
98% is something you don't release in your web application/jsps

    Pier

Roy K. Mayr R. at sysrom@uapar.edu wrote:

> I not found nothing unusual... only my outputs (System.out.println("") that
> I use for debuging my JSP pages...
> 
> Roy
> 
> (Mark, do you speak spanish ?)
> 
>> -----Mensaje original-----
>> De: Mark Castillo [mailto:markc@webfreak.com]
>> Enviado el: Lunes, 20 de Agosto de 2001 19:14
>> Para: tomcat-user@jakarta.apache.org
>> Asunto: Re: JVM and use of memory
>> 
>> 
>> Roy,
>> 
>> Do you have any output in the logs either from Tomcat or the JVM?
>> 
>> --
>> Mark Castillo
>> markc@webFreak.com
>> http://www.webFreak.com
>> 
>> ----- Original Message -----
>> From: "Roy K. Mayr R." <sy...@uapar.edu>
>> To: "TomcatUser" <to...@jakarta.apache.org>
>> Sent: Monday, August 20, 2001 2:41 PM
>> Subject: JVM and use of memory
>> 
>> 
>>> 
>>> When I start tomcat, it process use 44M and 16M res. (aprox).
>>> But when I work, and work, and work.... it process use
>>> 49,52,60,....80,100,120 M and crash tomcat !!!
>>> 
>>> I have JSP pages that use 8 beans... then memory used it increases more
>>> quicky....
>>> 
>>> I'm using:
>>> 
>>> Tomcat 3.3
>>> JDK 1.3.1
>>> Apache 1.3.20
>>> Solaris 2.8
>>> 
>>> Help me....!!
>>> 
>>> Thanks.
>>> 
>>> 
>>> Roy
>> 


RE: JVM and use of memory

Posted by "Roy K. Mayr R." <sy...@uapar.edu>.
I not found nothing unusual... only my outputs (System.out.println("") that
I use for debuging my JSP pages...

Roy

(Mark, do you speak spanish ?)

> -----Mensaje original-----
> De: Mark Castillo [mailto:markc@webfreak.com]
> Enviado el: Lunes, 20 de Agosto de 2001 19:14
> Para: tomcat-user@jakarta.apache.org
> Asunto: Re: JVM and use of memory
>
>
> Roy,
>
> Do you have any output in the logs either from Tomcat or the JVM?
>
> --
> Mark Castillo
> markc@webFreak.com
> http://www.webFreak.com
>
> ----- Original Message -----
> From: "Roy K. Mayr R." <sy...@uapar.edu>
> To: "TomcatUser" <to...@jakarta.apache.org>
> Sent: Monday, August 20, 2001 2:41 PM
> Subject: JVM and use of memory
>
>
> >
> > When I start tomcat, it process use 44M and 16M res. (aprox).
> > But when I work, and work, and work.... it process use
> > 49,52,60,....80,100,120 M and crash tomcat !!!
> >
> > I have JSP pages that use 8 beans... then memory used it increases more
> > quicky....
> >
> > I'm using:
> >
> > Tomcat 3.3
> > JDK 1.3.1
> > Apache 1.3.20
> > Solaris 2.8
> >
> > Help me....!!
> >
> > Thanks.
> >
> >
> > Roy
>


Re: JVM and use of memory

Posted by Mark Castillo <ma...@webFreak.com>.
Roy,

Do you have any output in the logs either from Tomcat or the JVM?

--
Mark Castillo
markc@webFreak.com
http://www.webFreak.com

----- Original Message ----- 
From: "Roy K. Mayr R." <sy...@uapar.edu>
To: "TomcatUser" <to...@jakarta.apache.org>
Sent: Monday, August 20, 2001 2:41 PM
Subject: JVM and use of memory


> 
> When I start tomcat, it process use 44M and 16M res. (aprox).
> But when I work, and work, and work.... it process use
> 49,52,60,....80,100,120 M and crash tomcat !!!
> 
> I have JSP pages that use 8 beans... then memory used it increases more
> quicky....
> 
> I'm using:
> 
> Tomcat 3.3
> JDK 1.3.1
> Apache 1.3.20
> Solaris 2.8
> 
> Help me....!!
> 
> Thanks.
> 
> 
> Roy