Can rosbag 'buffer exceeded' error be overcome by increasing the RAM?

asked 2017-05-29 03:45:09 -0500

vinmean gravatar image

updated 2017-05-29 03:46:03 -0500

I am trying to record a number of topics which includes depth map from a stereo camera, color images from the camera, IMU data and GPS data. I get the warning 'buffer exceeded' after storing around 4 bag files. My ram size is 16 GB. Will increasing the RAM (to say 32 GB) and then increasing the buffer size, help me get over this problem?

following is the command I use to record the topics

rosbag record -O <path to data file> <topics>  --buffsize=15000 --split --duration=5s
edit retag flag offensive close merge delete