hi,
i get an error "java.lang.OutOfMemoryError: bitmap size exceeds VM
budget" after increase some bitmap file size by 150% over.
so, i try get memory size
Log.d("--------freeMemory--------", Long.toString(Runtime.getRuntime
().freeMemory()));
Log.d("-------totalMemory---------", Long.toString(Runtime.getRuntime
().totalMemory()));
result
10-22 12:01:04.007: DEBUG/--------freeMemory--------(1194): 617144
10-22 12:01:04.027: DEBUG/-------totalMemory---------(1194): 2887664
this result means "application(containing this activity)" allowd
memory size = just"2887664byte"?
and i used 2887664-617144= 2270520byte?
and it's ok?
i think this memory size too small..
how can i increase available memory size?
sorry for my bad english, thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---