1

I am running android 9 and I tried changing heapsize prop by the following command

setprop dalvik.vm.heapsize 384m

and then verifying by

getprop | grep heapsize

which returns 384m so it works.

But after a reboot the value returns to its default 768m.I also tried to modify the build.prop file by adding the lines but still the props revert on every boot (the file itself still shows the change).

Any help ?

  • Did you wipe dalvik and cache after changing? – beeshyams Nov 11 at 7:04
  • yes I do, and it works without even wiping on other devices. I guess this is something specific to pie because of added ART stuff. This wasn't happening in marshmallow. – Saikat Patra Nov 11 at 7:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.