add heap settings to device