Hi Shapira, Thanks for the answers.
>Are you sure that's K? Assuming you really mean M, how did you arrive >at a number like 778? Maybe you mean 768? Thats Correct its M and not K. This number is arrived assuming the total process size might never go beyond 1GB. Would it ? (4 gb total mem, 3 tomcats so 3 gb) >If the JVM cannot allocate any more system memory to heap because -Xmx >is reaches, it will try full garbage collections frequently. If those >don't reclaim much/any memory, ie the heap is full and referenced, you >will get java.lang.OutOfMemoryErrors. You'll be able to see them in >logs/catalina.out. However, the JVM won't crash for a long long time >even while these are occurring. It'll thrash at a high CPU usage, and >you will start getting random NullPointerExceptions throughout your code >because referenced variables might be swapped out. But it won't crash >with a core dump as you're describing. You mean there would be frequent page faults but would never crash for the mere reason of out of memory exception. Any pointers or more details on the same please ? I want to research and know more about this ... >Internal crashes, not OufOfMemoryErrors, cause core dumps. What is the nature of Internal crashes...have u encountered any and how does one figure it out ? >Yeah: core dumps frequently indicate a mismatch between the JVM and the >OS. Look for missing OS patches or an upgraded JVM. Beyond that, I >don't use tomcat 3.x nor an Apache front-end so I can't offer much >specific help there. We have applied the OS patches more specifically the one for J2SE patches for solaris. What I have experienced in my application is that...we have maintenance windows every sunday...meaning once in a week...all tomcats are restarted and they start using the memory from the beginning...In case there are no maintenance windows because of no patches rolling to production....they are not restarted and each process consumes 1GB by that time at the end of the week and hence time come for them to dump the code...and they dump it but not all one or 2 max. I want to understand these internal crashes and how to prevent them ? Any thought/comments, Arnab C --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
