EXCEPTION_ACCESS_VIOLATION when working with JMap

1427
1
07-07-2016 04:22 AM
DirkNothbaum
New Contributor

Hello,

we implemented a Java Swing application with an embedded JMap using ArcGIS Runtime SDK for Java. We are working with several GraphicLayers that contain graphic objects (up to 20.000). Every now and then our application crashes because of an EXCEPTION_ACCESS_VIOLATION in runtimecore_java.dll (see attached log).

What might be the reason for this?

We tried different memory settings (e.g. -xmx512m or -xmx1024m) and different computers, so hardware issues can be excluded.

Our spec:

Java 1.8.0_45 (32 bit)

ArcGIS Runtime SDK for Java (Version 10.2.4)

OS: Windows 7 Enterprise, SP1 64 bit

0 Kudos
1 Reply
BatbayarBazarragchaa
New Contributor III

Try reducing max JVM to:

-J-Xms128m -J-Xmx768m

I've had this issue, but with this value it works fine on most computers, 1-2 computers still crashes with EXCEPTION_ACCESS_VIOLATION.

0 Kudos