malloc for external ram