Not enough memory exception when subscribing to RTPS topics

I recently have been trying to upgrade to the PX4 master on PX4-Autopilot, px4_ros_com, and px4_msgs from a version I cloned in January. In the newer versions the BatteryStatus and VehicleStatus messages seem to have changed slightly. When I try and subscribe to these topics or echo them from the command line the following exception occurs after receiving a couple of messages:

terminate called after throwing an instance of 'eprosima::fastcdr::exception::NotEnoughMemoryException'
  what():  Not enough memory in the buffer stream

Is anyone else having these issues or have an idea of what may be occurring?


Nevermind, I actually fixed it by doing a fresh install. There must have been some left over generated files.