Thanks Kevan. I tried changing stack size (ulimit -s 8192) to 8 MB and thought it should sovle the problem, but it did not..rather it gave error: Previous stack size was 10240 kbytes when the application works with -Xmx704m Any more thoughts?
# # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xbf0bd45e, pid=11734, tid=16384 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode) # Problematic frame: # [error occurred during error reporting, step 60, id 0xb] # An error report file with more information is saved as hs_err_pid11734.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xbefbd45e, pid=11821, tid=16384 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode) # Problematic frame: # [error occurred during error reporting, step 60, id 0xb] # An error report file with more information is saved as hs_err_pid11821.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp Rahul Tandon -----Original Message----- From: Kevan Miller [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 10:05 PM To: Tomcat Users List Subject: Re: OutOfMemoryError Rahul, There's an inverse relationship between your maximum heap size and the number of threads that can be allocated within your process. Your OS (and Java) will allocate memory for each Thread you create. By increasing your max heap, you're actually reducing the amount of memory available for thread creation. --kevan --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]