Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java memmory tester

 
basha khan
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
suggest a good java tester for memmory leaks .GC Ok?..how to use System.gc()..frequent?.tel me the overhead produced by gc() call.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
basha khan
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)?.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic