try
System.gc ();
incates to the System that now would be a good time for gc. Does not guarantee anything though.
سؤال
How to clear the ram on button click?
المحلول
try
System.gc ();
incates to the System that now would be a good time for gc. Does not guarantee anything though.