[FYR] fix ut for memory size limitation