打开的数据较多时,操作mapview发生闪退

400
1
06-14-2022 06:39 PM
婉君郭
New Contributor II

打开很多图层后,放大底图或是点击底图上的图层查看属性,突然就闪退了,然后报以下的问题,原来使用的是100.6的版本,听说升级为100.8没有这个问题,我就升级了,但是发现该问题还是存在。

2022-06-15 09:28:24.736 30282-30814/com.dist.dyOneMap E/AndroidRuntime: FATAL EXCEPTION: Rendering thread
Process: com.dist.dyOneMap, PID: 30282
com.esri.arcgisruntime.ArcGISRuntimeException: std::bad_alloc:
src/mapping/map_view/geo_view.cpp(776) : error : exception catch in __FUNCTION__
at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativeDraw(Native Method)
at com.esri.arcgisruntime.internal.jni.CoreGeoView.a(SourceFile:346)
at com.esri.arcgisruntime.internal.h.b.p.a(SourceFile:132)
at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.c(SourceFile:1133)
at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.lambda$haLdzB8I_qaTUBtUNgOR-b2no9o(Unknown Source:0)
at com.esri.arcgisruntime.mapping.view.-$$Lambda$GeoView$RenderingThread$haLdzB8I_qaTUBtUNgOR-b2no9o.run(Unknown Source:2)
atandroid.os.Handler.handleCallback(Handler.java:955)
at android.os.handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:228)
at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.run(SourceFile:1210)

Tags (2)
0 Kudos
1 Reply
ChanganShi1
New Contributor III

你可以把详细的步骤叙述一下或分享你的案例吗?

0 Kudos