How to increase heap size of an android application? -


i writing android application uses several 3d models. such model textures can take lot of memory. found out manufacturer sets limit on heap size application can use. example tablet samsung galaxy tab 8.9 p7310 can take 64mb of memory.

is there way increase size of memory application can use?

you can use android:largeheap="true" request larger heap size, not work on pre honeycomb devices. on pre 2.3 devices, can use vmruntime class, not work on gingerbread , above.

the way have large limit possible memory intensive tasks via ndk, ndk not impose memory limits sdk.

alternatively, load part of model in view, , load rest need it, while removing unused parts memory. however, may not possible, depending on app.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -