use some memory limit
fix some endian bugs