Hi,
I can try with IBM's version and also with sun's JVM1.4.1_01 and let you
know about it.
Thanks for your input.
Hari
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:36 AM
To: Tomcat Users List
Subject: RE: Memory
Hi,
>No Realms have been defined. I use Win2k, Tomcat 4.1.12 and JDK
>1.3.1_06.
Have you tried this across different JVM? I'd be curious about that.
>Without Using jprobe or OptimizeIt is there a way to check how much
>memory has been used.
Runtime.getRuntime().freeMemory();
Runtime.getRuntime
be or OptimizeIt is there a way to check how much
memory has been used.
Hari
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 9:29 AM
To: Tomcat Users List
Subject: RE: Memory Allocation
Howdy,
Whoa there ;) Be very careful about some things:
Howdy,
Whoa there ;) Be very careful about some things:
- The amount of memory tomcat takes on startup is variable. This
changes with tomcat version, OS version, JDK version, configured webapps
and their listeners / filters / load-on-startup servlets, any
Loggers/Valves/Realms configured for tom
I have a -Xms set to 128m and -Xmx set to 256. But does tomcat itself
takes 60M of 128M? ? ?
Hari
-Original Message-
From: Tolles, James [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 4:26 PM
To: 'Tomcat Users List'
Subject: RE: Memory Allocation
Its probably set
Its probably set in the jvm - the default heap size set is for 64 meg. This can be
changed using the -Xmx parmeters in the initial call to the jvm. We set the max heap
size for our tomcat to 128M using:
"-Xmx128M"
-Original Message-
From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
Sen
um.. i'm pretty sure that it doesn't matter.
the system garbage collector MAY reap memory for objects that are set to
null.
remember once the service method executes all the method variables ( al & it
) go out of scope and are elegible for gc.
if you had static or class level members using <%! %
didn't
make sense, ask on news:comp.lang.java.programmer, or on a Java mailing
list.
-- Bill K.
-Original Message-
From: Luba Powell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 12:11 PM
To: [EMAIL PROTECTED]
Subject: Re: memory alloc
Not to worry.
The only time that I know you need to set objects to null
is when you write servers and inside you (while (true)..
eternal loop.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 14, 2001 1:41 PM
Subject: memory allocation
hi all ,