I have 2K RAM and this should be sufficient to store the two buffers.
Barely. Those two buffers take up 600 and 1200 bytes of the 2048 available.
Your literal constants all take up space, as does the Serial instance's input and out buffers, as does the stack when calling functions. You need to leave some free space for the stack and other uses.