Sunday, February 9, 2014

dalvik.vm.heapsize = 24 to set what file it?


            
dalvik.vm.heapsize = 24 to set what file to take effect? ​​


(Set in the build.prop in inconvenient, must be changed each time the compiler)
Reply:
See the SDK documentation.
Reply:
private final static int CWJ_HEAP_SIZE = 6 * 1024 * 1024;


VMRuntime.getRuntime () setMinimumHeapSize (CWJ_HEAP_SIZE);. / / Set the minimum heap size to 6MB of memory.

No comments:

Post a Comment