update gps config and adjust the size of the dalvikheap