Ren68

ArcGIS Mobile 10.2 Out of Memory Error on CE device

Blog Post created by Ren68 on Apr 9, 2015

I am having an issue with ArcGIS Mobile (Build 10.2.5000.3581) shutting down and throwing an Out of Memory Error log (see below). We are seeing this on different project running on ether a Juniper archer 2 or Trimble Juno.  These are Caches that reside on the unit on Micro-SD Card any help would be appreciated.

 

Error log:

Esri® ArcGIS for Windows Mobile 10.2.5000.3581

Tuesday, April 07, 2015 10:27:51 AM

 

-----

Message:

OutOfMemoryException

Stack Trace:

   at Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)

   at System.Drawing.Bitmap._Init(Int32 cx, Int32 cy)

   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)

   at ESRI.ArcGIS.Mobile.Client.Controls.ExtendedListView.get_OffScreenBitmap()

   at ESRI.ArcGIS.Mobile.Client.Controls.ExtendedListView.OnPaint(PaintEventArgs e)

   at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)

   at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)

   at Microsoft.AGL.Forms.EVL.EnterModalDialog(IntPtr hwnModal)

   at System.Windows.Forms.Form.ShowDialog()

   at ESRI.ArcGIS.Mobile.Client.MobileApplication.ShowDialog(Form dialog)

   at ESRI.ArcGIS.Mobile.Client.Pages.EditAttributesPage.OnTextItemActivated(DataColumn dc, String caption)

   at ESRI.ArcGIS.Mobile.Client.Pages.EditAttributesPage.OnGroupActivated(DataColumn dc, String caption)

   at ESRI.ArcGIS.Mobile.Client.Pages.EditAttributesPage.ColumnGroupClicked(Object sender, EventArgs e)

   at ESRI.ArcGIS.Mobile.Client.Controls.Groups.Group.OnClicked()

   at ESRI.ArcGIS.Mobile.Client.Controls.Groups.GroupView.RaiseGroupClicked(Group group, EventArgs e)

   at ESRI.ArcGIS.Mobile.Client.Controls.Groups.GroupView.RaiseItemActivated(EventArgs e)

   at ESRI.ArcGIS.Mobile.Client.Controls.Groups.GroupView.OnMouseUp(MouseEventArgs e)

   at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)

   at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)

   at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)

   at System.Windows.Forms.Application.Run(Form fm)

   at ESRI.ArcGIS.Mobile.Client.MobileApplication.Main(String[] args)

   at ESRI.ArcGIS.Mobile.Client.Program.Main(String[] args)

 

I have found after Working with ESRI on the above Issue that Window CE devices have a Memory leak that has never been fixed even thought it has been reported to have been fixed.

Outcomes