Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 475

rosbag dies with MemoryError

$
0
0
Hi, I'm trying to use some large bag file. rosbag command dies with following error. I tried `rosbag reindex` also dies with same error. yasu@JO7UEB-VM-ROS:/media/sf_works/dataset/EuRoC$ rosbag info MH_01_easy.bag Traceback (most recent call last): File "/opt/ros/melodic/bin/rosbag", line 35, in rosbag.rosbagmain() File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/rosbag_main.py", line 1012, in rosbagmain cmds[cmd](argv[2:]) File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/rosbag_main.py", line 163, in info_cmd b = Bag(arg, 'r', skip_index=not options.freq) File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/bag.py", line 458, in __init__ self._open(f, mode, allow_unindexed) File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/bag.py", line 1415, in _open if mode == 'r': self._open_read(f, allow_unindexed) File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/bag.py", line 1443, in _open_read self._version = self._read_version() File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/bag.py", line 1551, in _read_version version_line = self._file.readline().rstrip().decode() MemoryError How can I use my bag file? Here is my environment, - OS: Ubuntu 18.04.1 LTS - ROS version: melodic This ubuntu is running on VirtualBox on Windows 10, ThinkPad Yoga 260 Thanks.

Viewing all articles
Browse latest Browse all 475

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>