Re: command line memory profiler tool
From: Joe Fischer (jfischer_at___fischerhome__.org)
Date: 12/23/03
- Next message: Rajneesh: "User entering input in a JSP?"
- Previous message: Erik: "command line memory profiler tool"
- In reply to: Erik: "command line memory profiler tool"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 23 Dec 2003 00:54:12 GMT
On 22 Dec 2003 14:45:09 -0800, webuser@eriklindberg.com (Erik) wrote:
>Hello,
>
>I'm looking for a simple command line tool (no windows) to help find a
>memory leak in a large amount of old java code. Need to keep the test
>machine identical to the production box, which is without xwindows.
>
>Thanks for your help,
>Erik
You could try the -Xrunhprof option on the java command that
you use to run the Java application. This is documented at
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html ; you
can also run java -Xrunhprof:help at the command prompt. The dump is
not very easy to read. There are some other tools that try to
summarize the data. I've tried a couple from IBM and HP (I don't have
the URLs handy). They are AWT/Swing, though.
- Next message: Rajneesh: "User entering input in a JSP?"
- Previous message: Erik: "command line memory profiler tool"
- In reply to: Erik: "command line memory profiler tool"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|