set limit buffer