hi, > Is anyone out there successfully using Tomcat with JDK1.3 or JDK1.4 on a linux box? > > I have JDK1.2.2 working fine, but when I upgrade to JDK1.3 or JDK1.4 Tomcat starts >spewing out processes and chews up all my memory (as seen by running "ps -ef | grep >java" command), so I'm wondering if anyone is using this combination successfully. >Thanks for any input.
the difference you are seeing most certainly is the switch from the green thread model to native linux threads. with 1.2 on linux one would see one process and threads were handled internally by the virtual machine. with 1.3/1.4 on the other side the jdk uses real linux threads. these linux threads appear as seperate processes although they are not. at the same time the default stack size for a thread was doubled in 1.3. that means that the applications with many threads use much more memory with 1.3 and later. this can be adjusted by a -X parameter (-Xss i think). i know of quite some usages of jdk 1.3 on linux, so in general that is no problem. bye, georg -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
