Search code examples
javamemory-leaksweblogic

Java 1.4.2 memory analysis tools


We have an application running on Weblogic 8.1.3, using the bundled 1.4.2 JDK, and it's leaking memory moderately rapidly.

I've done some reading around about how to fix memory leaks, but most of it seems to assume that the JDK being used is 5 or higher. Are there any tools available for earlier versions?

Other than that, there's very little information that we've found: the leak only seems to occur on the full production environment, rather than the test environments.

  • We have two machines running weblogic, clustered for load balancing
  • The leak occurs on one of the clustered servers at a time (?!), but never both
  • The leak sometimes, but not always, switches from server to server when Weblogic is restarted.

So I figure that there must be an object created at server startup that can be created on one (but not both) servers that is behind the leak. Does this seem a reasonable place to start looking?


Solution

  • JProfiler supports profiling Java 1.4 in its current version (7.0)

    You could have a look at this screen cast on how to search for memory leaks with JProfiler.

    Disclaimer: My company develops JProfiler