SRAM overflow

Since the data you are storing in the arrays comprises 10-bit values from analogRead, you could pack 2 readings into 3 bytes (instead of 4 bytes), reducing the memory requirement by 25%. Or you could pack 3 readings into 4 bytes (instead of 6 bytes), reducing the memory requirement by 33%.