fixed small esd heap memory