My own test results is about 10 megabytes, do not know right?
With this view I do not know right?
System.gc ();
Runtime rt = Runtime.getRuntime ();
System.out.println ("Total Memory =" + rt.totalMemory () + ", has been used =" + (rt.totalMemory ()-rt.freeMemory ()) + ", available =" + rt.freeMemory () + "maximum =" + rt.maxMemory ());
I always suspect that their memory is not freed by the feeling when used memory when close to 10 trillion, said he basically recovered memory overhead, is not it so?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
No new evidence seems to start an AP to 10 megabytes of memory.
Reply:
In the system / build.prop configuration below a minimum heap.
dalvik.vm.heapstartsize = 8m
dalvik.vm.heapsize = 384m / / maximum over crash.
Reply:
Not need to 10M, is assigned 10M. Did not add up enough to use the initial allocation instructions.
No comments:
Post a Comment