You may want to consider having an external CAN bus datalogger as well as the MC controller.
This way you can take the data in on the MC analogue inputs (assuming that's where the data is coming from), then broadcast it onto a CAN bus to be logged by the other device. There is a lot of CAN bus loggers on the market with a lot more memory then the MC controllers. I have set up systems like this previously with success.