ion: set to dynamic memory allocations

Change-Id: Iec8d95e4c0a9f094532cbd922e2e80c49c890299