メモリ不足に関する質問は既に尋ねられていますが、解決策が見つかりませんでした
Bitmap Factory でメモリ不足の例外が発生しました。
inSampleSize=1
だから私はそれをtry catch out of memory例外で囲んでいたが、それは悪い習慣だからだ
try{
.........
......
}catch (OutOfMemoryError e)
{}
メモリ不足の例外もキャッチされましたが、私の質問は、この例外がキャッチされた後です。
GC のヒープ メモリのクリアまたは再割り当て
解決策はありますか?
私が使う
System.gc();
役に立たない助けてください!!!!!!!!
not even Bitmap also for GridView Orientation i found this exception Clamp target GC heap from 17.333MB to 16.000MB Out of memory on a 140416-byte allocation.