[feature] try to optimize the memory for a small operator.