hey mohan actually u can use an alternate method to run gc explicitly.
just use following code.
"Runtime rt = Runtime.getRuntime();
rt.gc(); "