Does anybody know of any tools that i can use to monitor which object is taking what kind of memory on a run-time basis?. The server we have written keeps on crashing. Could it be memory leaks?. Is the Garbage collection occuring efficiently? How do we know?
Thanks so much
Ajay
-
Performance of Server (4 messages)
- Posted by: Ajay Warrier
- Posted on: December 08 2000 11:26 EST
Threaded Messages (4)
- Performance of Server by 123 123 on December 10 2000 02:59 EST
- Performance of Server by Chiew Lee on December 14 2000 15:18 EST
- Performance of Server by Richard Millward on December 22 2000 13:50 EST
- Performance of Server by Albert Zamus on January 18 2001 13:48 EST
-
Performance of Server[ Go to top ]
- Posted by: 123 123
- Posted on: December 10 2000 02:59 EST
- in response to Ajay Warrier
basically, you may like to examine your code first through a memory probe tool (like Rational's Purify or a product for Java called JProbe) to see how it manages memory and then plug the leaks
in runtime, if you are on UNIX, i think you will have a great deal of access to memory usage through the /proc files and also through commands like top, vmstat, ...
NT is considerably less granular in its process model, so you need to ask Bill, as always
krishnan -
Performance of Server[ Go to top ]
- Posted by: Chiew Lee
- Posted on: December 14 2000 15:18 EST
- in response to Ajay Warrier
chk out optimizeIt.
alex -
Performance of Server[ Go to top ]
- Posted by: Richard Millward
- Posted on: December 22 2000 13:50 EST
- in response to Ajay Warrier
You can see how much garbage collection is being undertaken by starting your JVM with the -verbosegc flag.
Unix monitoring tools like top, vmstat, iostat, ps, perfmeter etc should give you a good insight into what is happening up to the point of the server crashes.
-
Performance of Server[ Go to top ]
- Posted by: Albert Zamus
- Posted on: January 18 2001 13:48 EST
- in response to Richard Millward
there are a lot of profilers available. One of them comes with JWS (Java WorkShop) on Unix.