Due to the "out of memory" issue, is it possible to reset the HEAP via restart app?
Below is the code I found from "stackoverflow" to restart app. But from Eclipse DDMS, the Heap did not reset.
Intent i = getBaseContext().getPackageManager().getLaunchIntentForPackage( getBaseContext().getPackageName() );
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(i);
Thanks...