Re: Tomcat 5.0.28 memory usage - garbage collection
thanks Chris - the reason we are tied to j2sdk 1.4.2_12 is because it is recommended by the the packaged webapp - we are customiznig it and we have experienced major minor version issues when we try to deploy our customized code with the packaged webapp. in short package s/w is done using j2sdk1.4.2_12 our custom layer ontop of it has to stick to that thank Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > tootbatoot, > > tootbatoot wrote: > | Hi Thanks. the two applications run on their own and don't share jvm > so I can > | use different versions - but the webapp I have deployed in tomcat server > | requires it to be either on 5.0.28 or 5.5.17 (but using j2sdk1.4.2_12) > - - we > | are using 5.0.28. > > Okay. That doesn't seem to be a problem. > > | thanks for clarifying the behavior of memory - do you see any > performance > | gains if I switch to 5.5.17 from 5.0.28. > > My understanding is that TC 5.5 has a better architecture, which I > assume means that certain performance characteristics will be better, > but the #1 reason to move from TC 5.0 to TC 5.5 is that TC 5.0 is no > longer supported. Not even security patches. You should upgrade so that > you will be running a version of TC supported by the developers /and/ > the community. > > | the only problem I have on my end > | i that I have to use plugin for 5.5.17 for backward compatibility to > | j2sdk1.4.2_12. > > That's not a problem. The compatibility package was developed just for > that reason. again... why are you bound to a 1.4 JVM? > > - -chris > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkhSlZEACgkQ9CaO5/Lv0PCE0QCeJq6vTUHvz5xgmUIZGM5QZCIW > MlwAoKf1sUEZmjLKuJA8OMAO6Ic6d3HY > =F75G > -END PGP SIGNATURE- > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17826655.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.0.28 memory usage - garbage collection
Hi Thanks. the two applications run on their own and don't share jvm so I can use different versions - but the webapp I have deployed in tomcat server requires it to be either on 5.0.28 or 5.5.17 (but using j2sdk1.4.2_12) - we are using 5.0.28. thanks for clarifying the behavior of memory - do you see any performance gains if I switch to 5.5.17 from 5.0.28 . the only problem I have on my end i that I have to use plugin for 5.5.17 for backward compatibility to j2sdk1.4.2_12. thanks Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > tootbatoot wrote: > | The reason we have to stick to using this version is that it is > recommended > | by another application that tomcat is acting as a client to. > > Do you mean that your (Tomcat-hosted) application is connecting to a > 3rd-party application? If they are not running in the same JVM, there > should be no reason that different JVM versions cannot be used. The > 3rd-party can use whatever they want (1.4?) while you run a newer version. > > | From your posts - I understand that the memory usage might show going > up all > | the time - and it will still be ok because it is showing the heap size > of > | jvm. > > Yes. The JVM generally does not request memory from the OS and then give > it back, later. The JVM's memory usage for the Java heap (from the OS's > perspective) will only increase. > > - -chris > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkhRhkoACgkQ9CaO5/Lv0PA6FgCeOrSevoJ+S7MlJuBUMpfMIJrL > H9sAnRCXFHnikaIHkCb+Epj3FRj3q00M > =w52N > -END PGP SIGNATURE- > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17819205.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.0.28 memory usage - garbage collection
thanks. The reason we have to stick to using this version is that it is recommended by another application that tomcat is acting as a client to. >From your posts - I understand that the memory usage might show going up all the time - and it will still be ok because it is showing the heap size of jvm. Caldarale, Charles R wrote: > >> From: tootbatoot [mailto:[EMAIL PROTECTED] >> Subject: RE: Tomcat 5.0.28 memory usage - garbage collection >> >> jdk1.4.2_12 > > I'd strongly recommend upgrading to a newer JVM. 1.6 especially is > noticeably faster than 1.4 and includes better heap management. You > should upgrade Tomcat as well, for the similar reasons. > >> I am checking the numbers from task manager console and >> not sure whether these are virtual or real ones? > > While you have the Processes tab displayed, click on the View menu, then > Select Columns. Pick whatever you want to look at. The memory entries > that don't say virtual are refer to real memory usage. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17802394.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.0.28 memory usage - garbage collection
Thanks. Sorry for not including the environment info - here it is: OS: Windows server 2003 SP1 jdk1.4.2_12 I am checking the numbers from task manager console and not sure whether these are virtual or real ones? how to find this, thanks. t Caldarale, Charles R wrote: > >> From: tootbatoot [mailto:[EMAIL PROTECTED] >> Subject: Tomcat 5.0.28 memory usage - garbage collection >> >> When I put load on it via my webapp - I can see the memory >> allocated to the process going up (in task manager) but >> when I kill the session of the webapp (i.e. remove the load) >> it does not come down. Should not the tomcat process release >> memory when there is no load ? > > In a word, no. On most JVMs, once the virtual memory for the heap is > allocated due to peak load, it stays allocated. However, you didn't tell > us if you're looking at real or virtual memory numbers; the real memory > can fluctuate simply because the OS chooses to page some of it out. > > You also didn't bother to tell us the JDK and OS you're using (likely some > form of Windows), and your're running on an unsupported version of Tomcat. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17801715.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.0.28 memory usage - garbage collection
Hi Guys - Can you please help me understand behavior of 5.0.28 tomcat. When I put load on it via my webapp - I can see the memory allocated to the process going up (in task manager) but when I kill the session of the webapp (i.e. remove the load) it does not come down. Should not the tomcat process release memory when there is no load ? thanks -- View this message in context: http://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17800619.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]