首页 / 浏览问题 / 移动GIS / 问题详情
通过按键多次开启三维地图的时候报错
14EXP 2022年07月14日
日志显示Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 26968 (Thread-3), pid 26917 (om.example.map3)

Vertex Buffer: Out of memory in GLES2HardwareVertexBuffer::lock at /run/media/root/988a9695-129a-4f6c-8fb9-04f13bc0968e/df/map/software/SourceCode/Android64/jni/LibShared/OGRE1.9_ES3/RenderSystems/GLES2/src/OgreGLES2HardwareVertexBuffer.cpp (line 148)

1个回答

您好,请问您是有什么使用需求需要使用多次开启呢,这边看您的保存是内存溢出,您开启之后是否有关闭场景释放资源呢,如果没有,很有可能导致内存溢出哈
3,690EXP 2022年07月14日
2022-07-14 09:34:45.103 22217-22273/com.example.map3 E/OGRE: OGRE EXCEPTION(3:RenderingAPIException): Fail to SwapBuffers in swapBuffers at /run/media/root/988a9695-129a-4f6c-8fb9-04f13bc0968e/df/map/software/SourceCode/Android64/jni/LibShared/OGRE1.9_ES3/RenderSystems/GLES2/src/EGL/OgreEGLWindow.cpp (line 161)
2022-07-14 09:34:45.105 22217-22284/com.example.map3 E/OGRE: OGRE EXCEPTION(7:InternalErrorException): Vertex Buffer: Out of memory in GLES2HardwareVertexBuffer::lock at /run/media/root/988a9695-129a-4f6c-8fb9-04f13bc0968e/df/map/software/SourceCode/Android64/jni/LibShared/OGRE1.9_ES3/RenderSystems/GLES2/src/OgreGLES2HardwareVertexBuffer.cpp (line 148)
2022-07-14 09:34:46.826 22217-22288/com.example.map3 E/LogInfoService: Get VideoList Request Failed....
2022-07-14 09:34:46.853 22217-22289/com.example.map3 E/LogInfoService: Get VideoList Request Failed....
2022-07-14 09:34:46.885 22217-22287/com.example.map3 E/OGRE: OGRE EXCEPTION(7:InternalErrorException): Vertex Buffer: Out of memory in GLES2HardwareVertexBuffer::lock at /run/media/root/988a9695-129a-4f6c-8fb9-04f13bc0968e/df/map/software/SourceCode/Android64/jni/LibShared/OGRE1.9_ES3/RenderSystems/GLES2/src/OgreGLES2HardwareVertexBuffer.cpp (line 148)
2022-07-14 09:35:00.818 22217-22295/com.example.map3 E/LogInfoService: Get VideoList Request Failed....
2022-07-14 09:35:00.844 22217-22296/com.example.map3 E/LogInfoService: Get VideoList Request Failed....
2022-07-14 09:35:00.875 22217-22294/com.example.map3 A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 22294 (Thread-12), pid 22217 (om.example.map3)
好像是的内存溢出了,但是第一次开启之后,我就再用这个了,第二次再开启,怎样去关闭场景,释放资源呢
scene.close(),scene.dispose()分别关闭与释放场景
...