How can we set dalvikvm parameters -Xms & -Xmx through adb shell or any other method for a specific android application? This is needed to avoid the lag in my application while GC
You can specify in your IDE, example for eclipse in Run Configuration> Vm Arguments
you enter
-Xmx800m -Xms500m
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.