fix hana out of memory issue