My company is developing an Android App, using ArcGIS to draw a farmer planting map and to save it to a KMZ file.
Each 4 seconds are created 19 KmlPlacemark, one for each planting line.
But in about 90 min the App crashes.
Android debug says that some memory reaches its limit, KmlPlacemark objects.
How can I solve this problem?
Is this a limit from ArcGIS?
A/e.agrosystemma: java_vm_ext.cc:698] JNI ERROR (app bug): weak global reference table overflow (max=51200)weak global reference table dump:
java_vm_ext.cc:698] Last 10 entries (of 51200):
java_vm_ext.cc:698] 51199: 0x15f34490 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] 51198: 0x15f34490 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] 51197: 0x15f33958 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] 51196: 0x15f33958 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] 51195: 0x15f32e20 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] 51194: 0x15f32e20 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] 51193: 0x15f322e8 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] 51192: 0x15f322e8 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] 51191: 0x15f317b0 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] 51190: 0x15f317b0 com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark
java_vm_ext.cc:698] Summary:
java_vm_ext.cc:698] 50842 of com.esri.arcgisruntime.internal.jni.CoreKMLPlacemark (25421 unique instances)
java_vm_ext.cc:698] 84 of com.esri.arcgisruntime.internal.jni.CoreTileRequest (84 unique instances)
java_vm_ext.cc:698] 57 of com.esri.arcgisruntime.internal.jni.j (19 unique instances)
java_vm_ext.cc:698] 56 of com.esri.arcgisruntime.internal.jni.CoreTask (56 unique instances)
java_vm_ext.cc:698] 49 of java.lang.DexCache (49 unique instances)
java_vm_ext.cc:698] 28 of com.esri.arcgisruntime.internal.jni.CoreVector (28 unique instances)
java_vm_ext.cc:698] 12 of com.esri.arcgisruntime.internal.jni.CoreKMLDataset (2 unique instances)
java_vm_ext.cc:698] 12 of com.esri.arcgisruntime.internal.jni.CorePictureMarkerSymbol (4 unique instances)
java_vm_ext.cc:698] 10 of com.esri.arcgisruntime.internal.jni.CoreMapView (1 unique instances)
java_vm_ext.cc:698] 10 of com.esri.arcgisruntime.internal.jni.CoreKMLLayer (2 unique instances)
@AngeloSilva -- I moved your post to the Android board since I'm not sure we can help you much on the StoryMaps board. 🙂