RViz Crashes with Out of Memory Exception
I am repeatedly publishing Markers and MarkerArrays to RViz and then, randomly, this error occurs. Does anyone know what might be causing this?
I am running RViz from inside a docker container using the X11 server of my Ubuntu 12.04 host. The docker container is running ROS Jade and Ubuntu 14.04. RViz reports the OpenGL version as 4.5.
[ WARN] [1454370341.533289122]: OGRE EXCEPTION(7:InternalErrorException): Index Buffer: Out of memory in GLHardwareIndexBuffer::lock at /build/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLHardwareIndexBuffer.cpp (line 121)
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'Ogre::InternalErrorException'
what(): OGRE EXCEPTION(7:InternalErrorException): Index Buffer: Out of memory in GLHardwareIndexBuffer::lock at /build/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLHardwareIndexBuffer.cpp (line 121)
bash: line 1: 2140 Aborted (core dumped) rosrun rviz rviz --no-stereo -d /home/bidski/catkin_ws/src/structure_modeller/structure_modeller.rviz
Are you properly publishing the markers? That is, deleting/rewriting them ?
Does publishing a marker with the same namespace and id not overwrite the previous one?
How much memory do you have? Have you checked that your machine still has free RAM when rviz crashes?