Hi everyone,
I am encountering a problem using the MGRS military grid of the JMap.
Each time I change the visibility of this grid, the memory allowed to the JVM process increases until the JVM crash saying "OutOfMemoryError".
Here is attached a sample project, with a unit test setup to show/hide the MGRS grid every seconds and reproduces the problem.
We can see at runtime (using default windows process manager) that memory allocated to the JVM process increase, until it crashes.
The bug has been discovered on Windows XP 32 bits, and has been reproduced on Windows Seven 32 bits using ArcGIS runtime 10.2.3 and Java8u45.
Solved! Go to Solution.
Hi again,
After contacting ESRI support, it appears there is a technical issue in ArcGIS Runtime for Java, leading to a memory leak when changing the type of the grid using "setType()".
For people only interested in showing/hiding a given grid, they may define the type only once, then use the #setVisibility method.
Regards,
Pierre.
Hi again,
After contacting ESRI support, it appears there is a technical issue in ArcGIS Runtime for Java, leading to a memory leak when changing the type of the grid using "setType()".
For people only interested in showing/hiding a given grid, they may define the type only once, then use the #setVisibility method.
Regards,
Pierre.