[SOLVED] Increase serial buffer size on Arduino Mega 2560

Your Mega has 4 serial ports; guess you changed the wrong one.

If you redesign your software, there is probably no need to increase the buffer size. Have a look at serial input basics - updated. The trick is to regularly read the serial data.