You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kim soon il <su...@hananet.net> on 2000/12/19 14:53:47 UTC

[ linux + tomcat + oracle ] Why VMM is continual grow longer..

Dear Tomcat users,

	[ linux + tomcat (3.1)+ oracle(8.1.6) ]
	I used  Oracle Thin Driver [ classes12.zip ]..........

tomcat.sh edit for VMM setting

	if [ "$TOMCAT_OPTS" = "" ] ; then
		  TOMCAT_OPTS="-ms150m -mx200m"
	fi


	But Why  VMM is continual grow longer............................

	Then repeatedly out error
		java.lang.OutOfMemoryError
	Finally tomcat is Dead.....................................

	All Kind Tomcat users Help Me (^.^)
	
[ssl3 ]$  top

 10:34pm  up 3 days,  9:56,  2 users,  load average: 0.09, 0.03, 0.01
46 processes: 45 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  0.3% user,  1.2% system,  0.0% nice, 98.3% idle
Mem:   517176K av,  440580K used,   76596K free,   92688K shrd,  125912K buff
Swap: 1052248K av,       0K used, 1052248K free                   50640K cached

 PID 	USER     PRI  NI 	 SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
 5309 	sunny     14   0  	 860  860   668 R       0  2.3  0.1  15:21 top
15092 	nobody     1   0  	7784 7784  7580 S       0  0.3  1.5   1:08 httpd
15093 	nobody     1   0  	7780 7780  7576 S       0  0.1  1.5   1:09 httpd
-------------------------------------------------------------------------------------------------------
15090 	nobody     0   0  	7784 7784  7580 S       0  0.0  1.5   1:15 httpd
15091 	nobody     0   0  	7780 7780  7576 S       0  0.0  1.5   1:09 httpd
 4237 	sunny      0   0  		208M 208M   964 S       0  0.0 41.2   0:01 java
 4275 	sunny     14   0  	208M 208M   964 S       0  0.0 41.2   0:04 java
 4276 	sunny      0   0  		208M 208M   964 S       0  0.0 41.2   0:00 java
 4277 	sunny      0   0  		208M 208M   964 S       0  0.0 41.2   0:00 java

Re: [ linux + tomcat + oracle ] Why VMM is continual grow longer..

Posted by Andy <ac...@yahoo.com>.
Just a guess but I'm betting both you folks have hanging object references.secondly you probably haven't
discovered why you shouldn't use the java String object in a loop (it makes the garbage collector run
wild).  (see StringBuffer).


Alexandre Augusto Drummond Barroso wrote:

> Unfortunately I also have this problem but I don't know how to solve yet.":-(
>
> Xandao.
>
> On Tue, 19 Dec 2000 22:53:47 +0900
>  "Kim soon il" <su...@hananet.net> wrote:
> > Dear Tomcat users,
>
> >
> >       [ linux + tomcat (3.1)+ oracle(8.1.6) ]
>
> >       I used  Oracle Thin Driver [ classes12.zip ]..........
>
> >
> > tomcat.sh edit for VMM setting
>
> >
> >       if [ "$TOMCAT_OPTS" = "" ] ; then
>
> >                 TOMCAT_OPTS="-ms150m -mx200m"
>
> >       fi
>
> >
> >
> >       But Why  VMM is continual grow
> > longer............................
>
> >
> >       Then repeatedly out error
>
> >               java.lang.OutOfMemoryError
>
> >       Finally tomcat is Dead.....................................
>
> >
> >       All Kind Tomcat users Help Me (^.^)
>
> >
> > [ssl3 ]$  top
>
> >
> >  10:34pm  up 3 days,  9:56,  2 users,  load average:
> > 0.09, 0.03, 0.01
>
> > 46 processes: 45 sleeping, 1 running, 0 zombie, 0
> > stopped
>
> > CPU states:  0.3% user,  1.2% system,  0.0% nice, 98.3%
> > idle
>
> > Mem:   517176K av,  440580K used,   76596K free,   92688K
> > shrd,  125912K buff
>
> > Swap: 1052248K av,       0K used, 1052248K free
> > 50640K cached
>
> >
> >  PID  USER     PRI  NI         SIZE  RSS SHARE STAT  LIB %CPU
> > %MEM   TIME COMMAND
>
> >  5309         sunny     14   0         860  860   668 R       0  2.3
> > 0.1  15:21 top
>
> > 15092         nobody     1   0        7784 7784  7580 S       0  0.3
> > 1.5   1:08 httpd
>
> > 15093         nobody     1   0        7780 7780  7576 S       0  0.1
> > 1.5   1:09 httpd
>
> > -------------------------------------------------------------------------------------------------------
>
> > 15090         nobody     0   0        7784 7784  7580 S       0  0.0
> > 1.5   1:15 httpd
>
> > 15091         nobody     0   0        7780 7780  7576 S       0  0.0
> > 1.5   1:09 httpd
>
> >  4237         sunny      0   0                208M 208M   964 S       0  0.0
> > 41.2   0:01 java
>
> >  4275         sunny     14   0        208M 208M   964 S       0  0.0
> > 41.2   0:04 java
>
> >  4276         sunny      0   0                208M 208M   964 S       0  0.0
> > 41.2   0:00 java
>
> >  4277         sunny      0   0                208M 208M   964 S       0  0.0
> > 41.2   0:00 java


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: [ linux + tomcat + oracle ] Why VMM is continual grow longer..

Posted by Alexandre Augusto Drummond Barroso <al...@intelligenesis.net>.
Unfortunately I also have this problem but I don't know how to solve yet.":-(

Xandao.

On Tue, 19 Dec 2000 22:53:47 +0900
 "Kim soon il" <su...@hananet.net> wrote:
> Dear Tomcat users,

> 
> 	[ linux + tomcat (3.1)+ oracle(8.1.6) ]

> 	I used  Oracle Thin Driver [ classes12.zip ]..........

> 
> tomcat.sh edit for VMM setting

> 
> 	if [ "$TOMCAT_OPTS" = "" ] ; then

> 		  TOMCAT_OPTS="-ms150m -mx200m"

> 	fi

> 
> 
> 	But Why  VMM is continual grow
> longer............................

> 
> 	Then repeatedly out error

> 		java.lang.OutOfMemoryError

> 	Finally tomcat is Dead.....................................

> 
> 	All Kind Tomcat users Help Me (^.^)

> 	
> [ssl3 ]$  top

> 
>  10:34pm  up 3 days,  9:56,  2 users,  load average:
> 0.09, 0.03, 0.01

> 46 processes: 45 sleeping, 1 running, 0 zombie, 0
> stopped

> CPU states:  0.3% user,  1.2% system,  0.0% nice, 98.3%
> idle

> Mem:   517176K av,  440580K used,   76596K free,   92688K
> shrd,  125912K buff

> Swap: 1052248K av,       0K used, 1052248K free
> 50640K cached

> 
>  PID 	USER     PRI  NI 	 SIZE  RSS SHARE STAT  LIB %CPU
> %MEM   TIME COMMAND

>  5309 	sunny     14   0  	 860  860   668 R       0  2.3
> 0.1  15:21 top

> 15092 	nobody     1   0  	7784 7784  7580 S       0  0.3
> 1.5   1:08 httpd

> 15093 	nobody     1   0  	7780 7780  7576 S       0  0.1
> 1.5   1:09 httpd

> -------------------------------------------------------------------------------------------------------

> 15090 	nobody     0   0  	7784 7784  7580 S       0  0.0
> 1.5   1:15 httpd

> 15091 	nobody     0   0  	7780 7780  7576 S       0  0.0
> 1.5   1:09 httpd

>  4237 	sunny      0   0  		208M 208M   964 S       0  0.0
> 41.2   0:01 java

>  4275 	sunny     14   0  	208M 208M   964 S       0  0.0
> 41.2   0:04 java

>  4276 	sunny      0   0  		208M 208M   964 S       0  0.0
> 41.2   0:00 java

>  4277 	sunny      0   0  		208M 208M   964 S       0  0.0
> 41.2   0:00 java