File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes java memmory tester Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "java memmory tester" Watch "java memmory tester" New topic

java memmory tester

basha khan
Ranch Hand

Joined: Jan 18, 2002
Posts: 87
suggest a good java tester for memmory leaks .GC Ok? to use System.gc()..frequent?.tel me the overhead produced by gc() call.
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

realize that a call to System.gc() doesn't guarantee anything. It simply requests that the Garbage Collector do its thing.
I've used JProbe when dealing with memory leaks, it might help you to identify where your problem is coming from.

- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
basha khan
Ranch Hand

Joined: Jan 18, 2002
Posts: 87
do anyone knows what System.gc() doing?.why sun is hiding it's original purpose.
sun says that 'gc() only force the garbage collector to run'.how it's forcing?.a lot can be done if sun specifies what gc() actually doing.
how much cuncurrent threads can "EFFECTIVELY"(not theoratically) handle a java program(load)?.
I agree. Here's the link:
subject: java memmory tester
It's not a secret anymore!