Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification.
The following page has been changed by WillGlassHusain: http://wiki.apache.org/jakarta-velocity/YmtdHosting ------------------------------------------------------------------------------ What this does is that it creates a Hashtable and then goes into a tight - loop. At the same time, it creates a new StringBuffer object that has a + loop. At the same time, it creates a new !StringBuffer object that has a default size of 999999. Therefore, creating what amounts to a memory leak in the Java Virtual Machine (which all of the hosted applications share). As soon as all of the memory is gone, every single hosted application - will start to receive the dreaded "OutOfMemoryError". The reason why + will start to receive the dreaded "!OutOfMemoryError". The reason why - this is so bad has already been explained [./ymtd-error-handling.html earlier]. + this is so bad has already been explained [YmtdErrorHandling earlier]. Essentially JSP pages themselves cannot catch OOME errors and the entire servlet engine will suddenly become useless, all because of what amounts to a few lines of --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
