System.gc() with reflection?

jota

Active Member
Licensed User
Longtime User
As you call the garbage collector "System.gc()" from the library of reflection or otherwise?. thanks
 

jota

Active Member
Licensed User
Longtime User
Use reflection to recycle memory bitmap, delete all objects of the activity before closing but I can not avoid the message "java.lang.OutOfMemoryError: bitmap size VM Exceeds budget" on some devices. I can only try to call the recycler and expect the system to run.


English depends on my google translator, sorry. Regards
 
Upvote 0
Top