I am starting tomcat as a service so i dont have a console.. maarten
-----Oorspronkelijk bericht----- Van: Suresh babu [mailto:[EMAIL PROTECTED] Verzonden: donderdag 20 juli 2006 12:57 Aan: Tomcat Users List Onderwerp: Re: out of memory error GC details will be printed in console On 7/20/06, MW Janssen <[EMAIL PROTECTED]> wrote: > > thx for the fact that you want to look into it..i set those parameters > and restarted tomcat..are GC details printed in stout.log?? > > Maarten > > -----Oorspronkelijk bericht----- > Van: Suresh babu [mailto:[EMAIL PROTECTED] > Verzonden: donderdag 20 juli 2006 7:32 > Aan: Tomcat Users List; Martin Gainty > Onderwerp: Re: out of memory error > > Hi, > > please set this and send the verbose out put log file. > > set JAVA_OPTS=%JAVA_OPTS% -verbosegc -XX:+PrintGCDetails, I will look > in to this. > > > On 7/19/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > > > > Good Afternoon Jon- > > > > set Max Mem and Min Mem within jvm.cfg (-Xmx and -Xms options) to > > the same value > > http://java.sun.com/docs/hotspot/PerformanceFAQ.html#8 > > > > Exercise caution on playing with stack SS 64k is mightly lean > > 512k(default for Sparc) and 256k(default for Intel) usually is > > plenty unless your program has some grossly huge stack allocations > > > > Drivers- > > Also be mindful of synch points for Type 2 (OCI) drivers vs using > > Type > > 4 > > (thin) drivers.. > > > > HTH > > Martin -- > > ******************************************************************** > > * This email message and any files transmitted with it contain > > confidential information intended only for the person(s) to whom > > this email message is addressed. If you have received this email > > message in error, please notify the sender immediately by telephone > > or email and destroy the original message without making a copy. Thank you. > > > > > > > > ----- Original Message ----- > > From: "Jon Wingfield" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <users@tomcat.apache.org> > > Sent: Wednesday, July 19, 2006 12:12 PM > > Subject: Re: out of memory error > > > > > > > This may be of help (emphasis on may): > > > > > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4765019 > > > > > > Has a bit about tuning Xss for a high number of threads. > > > > > > MW Janssen wrote: > > >> Hi, > > >> > > >> These are my parameters: > > >> > > >> I have Xmx1024m and Xms1024m as well for the heap size memory. I > > >> dont > > set > > >> Xss so I presume I use the default value. > > >> My Operating System: > > >> > > >> OS Name: Windows 2003 OS Version: 5.2 Total RAM: 2.00Gb Free RAM: > > 2.00Gb > > >> Committed JVM memory: 1.02Gb Total swap: 4.00Gb Free swap: 3.87Gb > > >> (from > > >> lambdaprobe) > > >> > > >> Maarten > > >> > > >> -----Oorspronkelijk bericht----- > > >> Van: David Tonhofer [mailto:[EMAIL PROTECTED] > > >> Verzonden: woensdag 19 juli 2006 16:57 > > >> Aan: Tomcat Users List > > >> Onderwerp: Re: out of memory error > > >> > > >> > > >> MW Janssen wrote: > > >> > > >> "java.lang.OutOfMemoryError: unable to create new native thread" > > >> > > >> > > >> Are you it isn't just the heap and/or stack that's too small? Try > > starting > > >> the Jvm with one of the extended options line "-Xss500k" "-Xmx100m" > > >> (if > > it > > >> is the Sun > > >> JVM) > > >> > > >> ----------------------------------------------------------------- > > >> -- > > >> -- To start a new topic, e-mail: users@tomcat.apache.org To > > >> unsubscribe, > > >> e-mail: [EMAIL PROTECTED] > > >> For additional commands, e-mail: [EMAIL PROTECTED] > > >> > > >> -- > > >> No virus found in this incoming message. > > >> Checked by AVG Free Edition. > > >> Version: 7.1.394 / Virus Database: 268.10.1/391 - Release Date: > > 18-7-2006 > > >> > > >> > > > > > > > > > > > > ------------------------------------------------------------------ > > > -- > > > - To start a new topic, e-mail: users@tomcat.apache.org To > > > unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > -- > Suresh Babu, > Software Engineer, > Computer Associates-India > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.2/393 - Release Date: > 19-7-2006 > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.2/393 - Release Date: > 19-7-2006 > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, > e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Suresh Babu, Software Engineer, Computer Associates-India -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.2/393 - Release Date: 19-7-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.2/393 - Release Date: 19-7-2006 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]