Wednesday, June 15, 2005

Your Web App is leaking memory during restarts - Here's why...

Bottom line up front, if you are doing/using any of the following, you are at risk for memory leaks during hot restarts.
Using JDBC - (Depending on where your driver's jar file is) - Specifically java.sql.DriverManager
Dom4j (Before version 1.6)
HIbernate 2.x - (Actually, its Dom4j's fault, its a dependency of Hibernate)
Webwork
Anything with Java Beans (Specifically, java.beans.Introspector)
Anything with ThreadLocals

The Art of War

No comments:

Post a Comment