i often see some code snippets for manually cleaning up memory like:
System.gc();
try
{
Thread.sleep(500);
}
catch(InterruptedException e){ ... }
// or
System.gc()
Thread.yield();
its used for giving the garbage collection request some amount of “free time” so that it is really invoked.
but does this really have any affect ? or is the gc request so independent that it follows it own rules ?

