Hi, >I think it is a obvious memory leak because the number of request >threads doesn't increase and the app hits just is normal when the >inflexion of gc figure appreas.
So there is a constant load and constant memory usage for a couple of days, and then under the same load the memory usage spikes up? No other external parameters change, e.g. the database going down? >It should been given max memory as possible to avoid JVM increases >heap progressively when the server machine only runs tomcat. >I think all heavy load app should set two parameter equal. I disagree. Pretty much no performance tuning criterion applies to "all heavy load" apps. And the practice of setting -Xms = -Xmx is outdated, as recent JDKs are very good at rapidly allocating large chunks of the heap on-demand. However, it's your app and your call, and it sounds like you've given it some thought, which is good. >I have 2~3 hundreds JSPs that almost be requested everyday. And they don't change, right? So they don't need to be recompiled by Jasper. >Does one JSP has memory leak at a special situation? Or one JSP >running at a special situation causes tomcat leak? Can you correlate your access log (assuming it's enabled: if not, enable it) to the increase in memory usage> Maybe it will show one particular page being requested when the memory spikes up. Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
