Add-in (Version=8.9.4453.2005) in outlook - out of memory exception

Add-in Express™ Support Service
That's what is more important than anything else

Add-in (Version=8.9.4453.2005) in outlook - out of memory exception
Customers are getting this exception after using our plugin for a while 
Avi Mandelberg




Posts: 1
Joined: 2015-12-13
We got this trace from one of our customers - we could not reproduce in dev environment

Error Details.

Detailed technical information follows:
---
Date and Time: 4/23/2018 2:51:39 PM
Machine Name: SB
IP Address: fe80::cd74:94a2:d28d:e238%3
Current User: SB\shado

Application Domain: C:\Program Files (x86)\Knowmail\
Assembly Codebase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Assembly Full Name: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Assembly Version: 4.0.0.0
Assembly Build Date: 9/29/2017 6:43:09 AM

Exception Source: System.Drawing
Exception Type: System.OutOfMemoryException
Exception Message: Out of memory.
Exception Target Site: CheckErrorStatus

---- Stack Trace ----
System.Drawing.Graphics.CheckErrorStatus(status As Int32)
AddinExpress.OL.2005.DLL: N 0000 (0x0) IL
System.Drawing.Graphics.DrawImage(image As Image, destRect As Rectangle, srcRect As Rectangle, srcUnit As GraphicsUnit)
AddinExpress.OL.2005.DLL: N 0122 (0x7A) IL
AddinExpress.Extensions.ADXContainerControl.PaintTo(dc As Graphics, X As Int32, Y As Int32)
AddinExpress.OL.2005.DLL: N 0244 (0xF4) IL
AddinExpress.Extensions.ADXContainerControl.OnPaint(e As PaintEventArgs)
AddinExpress.OL.2005.DLL: N 0029 (0x1D) IL
System.Windows.Forms.Control.PaintWithErrorHandling(e As PaintEventArgs, layer As Int16)
AddinExpress.OL.2005.DLL: N 0043 (0x2B) IL
System.Windows.Forms.Control.WmPaint(m As Message&)
AddinExpress.OL.2005.DLL: N 0441 (0x1B9) IL
System.Windows.Forms.Control.WndProc(m As Message&)
AddinExpress.OL.2005.DLL: N 0939 (0x3AB) IL
AddinExpress.Extensions.ADXContainerControl.WndProc(m As Message&)
AddinExpress.OL.2005.DLL: N 1003 (0x3EB) IL







System Info:
===========

AdditionalVersionIdentifier:
Start Time: 2018-04-23 10:30:12 AM
Standard: AddinExpress.OL.2005, Version=8.9.4453.2005, Culture=neutral, PublicKeyToken=e69a7e0f3592d2b8
Outlook version: 16.0.0.8431
Registered message WM_ADX_TEST=50292
Registered message WM_ADXDELETEEMULATEWINDOW=50293
Registered message WM_ADX_WINDOW_ENGINE_HIDE=50294
Registered message WM_ADX_WORDEDITOR_HIDE=50295
Registered message WM_REMOVECONTROLLEDRESIZEWINDOW=50296
Registered message WM_NET_ShowChildWindowMessage=50297
Registered message WM_ADX_NeedRefreshFoldersMessage=50298
Registered message WM_ADX_CLOSE_SERVICE_FORM_FOR_NOT_WORD_INSPECTOR=50299
Registered message WM_ADX_CLOSE_SUPERGRID_SERVICE_FORM=50300
Registered message WM_ADX_CLOSE_READINGPANE_SERVICE_FORM=50301
Registered message WM_INFORMTOSHOWDOCKLAYOUT=50302
Registered message WM_ADX_ADDSEARCHENGINE=50303
Registered message WM_ADX_NAVIGATION_PANE_SHOW=50304
Registered message WM_ADX_NAVIGATION_PANE_HIDE=50305
Registered message WM_ADX_NAVIGATION_PANE_MINIMIZE=50306
Registered message WM_ADX_FOLDER_LIST_SHOW=50307
Registered message WM_ADX_FOLDER_LIST_HIDE=50308
Registered message WM_ADX_TODO_BAR_SHOW=50309
Registered message WM_ADX_TODO_BAR_HIDE=50310
Registered message WM_ADX_TODO_BAR_MINIMIZE=50311
Registered message WM_NET_MoveReadingPaneWindowMessage=50312
Registered message WM_ADX_GET_ACTUAL_INSPECTORS_COUNT=50313
Registered message WM_ADX_UPDATE_LATEST_KNOWN_INSPECTORS_COUNT=50314
Registered message WM_ADX_FIND_OUTSIDE_INSPECTOR=50315
Registered message WM_ADX_WORDINSPPREVIEW_ON=50316
Registered message WM_ADX_WORDINSPPREVIEW_OFF=50317
Registered message WM_ADX_OUTLOOK_BAR_SHOW=50318
Registered message WM_ADX_OUTLOOK_BAR_HIDE=50319
Registered message WM_ADX_BACKSTAGE_SHOW=50320
Registered message WM_ADX_DESTROY_EMBEDED_WINDOW=50321
Registered message WM_ADX_READING_PANE_HIDE_FROM_SBCLS=50322
Registered message WM_ADX_READING_PANE_SHOW=50323
Registered message WM_ADX_READING_PANE_HIDE=50324
Registered message WM_ADX_READING_PANE_MINIMIZE=50325
Registered message WM_ADXDELPROC=50326
Registered message WM_ADXSETOLDPROC=50327
Registered message WM_ADXSETNEWPROC=50328
Registered message WM_ADXGETCONTAINERFORM=50329
Registered message WM_ADXADDFORM=50330
Registered message WM_ADXDELETEFORM=50331
Registered message WM_ADXSETCONTAINER=50332
Registered message WM_ADXGETAPPWINDOWPOS=50333
Registered message WM_ADXGETREGIONPARAM=50334
Registered message WM_ADXGETREGIONSIZE=50335
Registered message WM_ADXSETREGIONPARAM=50336
Registered message WM_ADXUPDATEFORMPARAM=50337
Registered message WM_ADXSETMAINPOS=50338
Registered message WM_ADXCLOSEAPPWINDOW=50339
Registered message WM_ADXSETLATESTPROC=50340
Registered message WM_ADXEXIST=50341
Registered message WM_ADXEXISTLAYOUT=50342
Registered message WM_ADXEXISTSERVICEFORM=50343
Registered message WM_ADXWMIGETCONTROL=50344
Registered message WM_ADXWMIPOSCHANGE=50345
Registered message WM_ADXWMISETPOS=50346
Registered message WM_ADXCOMMAND=50347
Registered message WM_ADXMANAGERCOMMAND=50348
Registered message WM_ADXMOUSELEAVE=50349
Registered message WM_MSO_BROADCASTCHANGE=49633
Registered message WM_ADXSETACTIVATE=50350
Registered message WM_ADXGETTYPESUBCLASS=50351
Registered message WM_ADXCLOSEBUTTONCLICK=50352
Registered message WM_ADXHIDEALLREGIONFORMS=50353
Registered message WM_ADXGETPICTURE=50354
Registered message WM_ADXSUPPORTMINIMIZE=50355
Registered message WM_ADXCONTAINERSHOWFLOATING=50356
Registered message WM_ADXCONTAINERHIDEFLOATING=50357
Registered message WM_ADXSHOWFLOATING=50358
Registered message WM_ADXHIDEFLOATING=50359
Registered message WM_ADXSETFLOATINGPOS=50360
Registered message WM_ADXGETDRAGLAYOUTPARAMS=50361
Registered message WM_ADXSETDRAGFORM=50362
Registered message WM_ADXSETDRAGITEMS=50363
Registered message WM_ADXGETFORMDEFAULTSIZE=50364
Registered message WM_ADXDRAGOVERMINIMIZED=50365
Registered message WM_ADXREDESIGNSUPPORT=50366
Registered message WM_ADXUPDATECLIPREGION=50367
Registered message WM_ADXCTP_VISIBLECHANGED=50368
Registered message WM_ADXMAYBEWORDVIEWWASCHANGED=50369
Registered message WM_ADXSTARTTRANSACTION=50370
Registered message WM_ADXENDTRANSACTION=50371
Registered message WM_ADXSWAPCONTROLLER=50372
Registered message WM_ADXCONTAINERREFRESH=50373
Registered message WM_ADXGETCAPTION=50374
Registered message WM_ADXGETCAPTION_EX=50375
Registered message WM_ADXHOSTVISIBLE=50376
SocialConnectorAddin state = Active
Exceptions:
===========

Out of memory.
Exception time: 4/23/2018 2:51:39 PM
AppWindow.WndProc(c4c5; 210; 1e09ce)

Out of memory.
Exception time: 4/23/2018 2:51:39 PM


WndProc: Out of memory.
Exception time: 4/23/2018 2:51:39 PM
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit)
at AddinExpress.Extensions.ADXContainerControl.PaintTo(Graphics dc, Int32 X, Int32 Y)
at AddinExpress.Extensions.ADXContainerControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at AddinExpress.Extensions.ADXContainerControl.WndProc(Message& m)

AddinExpress.OL.ADXOlFormsManager error: Out of memory.
Exception time: 4/23/2018 2:51:39 PM

AddinExpress.OL.ADXOlFormsManager error: Out of memory.
Error occured in WndProc . See 'Details' section to get more detailed information about the error.
Detailed technical information follows:
---
Date and Time: 4/23/2018 2:51:39 PM
Machine Name: SB
IP Address: fe80::cd74:94a2:d28d:e238%3
Current User: SB\shado

Application Domain: C:\Program Files (x86)\Knowmail\
Assembly Codebase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Assembly Full Name: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Assembly Version: 4.0.0.0
Assembly Build Date: 9/29/2017 6:43:09 AM

Exception Source: System.Drawing
Exception Type: System.OutOfMemoryException
Exception Message: Out of memory.
Exception Target Site: CheckErrorStatus

---- Stack Trace ----
System.Drawing.Graphics.CheckErrorStatus(status As Int32)
AddinExpress.OL.2005.DLL: N 0000 (0x0) IL
System.Drawing.Graphics.DrawImage(image As Image, destRect As Rectangle, srcRect As Rectangle, srcUnit As GraphicsUnit)
AddinExpress.OL.2005.DLL: N 0122 (0x7A) IL
AddinExpress.Extensions.ADXContainerControl.PaintTo(dc As Graphics, X As Int32, Y As Int32)
AddinExpress.OL.2005.DLL: N 0244 (0xF4) IL
AddinExpress.Extensions.ADXContainerControl.OnPaint(e As PaintEventArgs)
AddinExpress.OL.2005.DLL: N 0029 (0x1D) IL
System.Windows.Forms.Control.PaintWithErrorHandling(e As PaintEventArgs, layer As Int16)
AddinExpress.OL.2005.DLL: N 0043 (0x2B) IL
System.Windows.Forms.Control.WmPaint(m As Message&)
AddinExpress.OL.2005.DLL: N 0441 (0x1B9) IL
System.Windows.Forms.Control.WndProc(m As Message&)
AddinExpress.OL.2005.DLL: N 0939 (0x3AB) IL
AddinExpress.Extensions.ADXContainerControl.WndProc(m As Message&)
AddinExpress.OL.2005.DLL: N 1003 (0x3EB) IL




Log:
===========

4/23/2018 2:52:12 PM 2 --OlInspectorEvents_BaseLogic.Dispose
4/23/2018 2:52:12 PM 2 --~OlInspectorEvents_10_SinkHelper
4/23/2018 2:51:39 PM 4 --
4/23/2018 2:51:39 PM 4 --{-Event IExplorerEvents_10.Deactivate
4/23/2018 2:51:39 PM 4 --{+Event IExplorerEvents_10.Deactivate
4/23/2018 2:51:39 PM 4 --
4/23/2018 2:51:39 PM 4 -- |
4/23/2018 2:51:39 PM 4 -- | AddinExpress.OL.ADXOlFormsManager error: Out of memory.
4/23/2018 2:51:39 PM 4 -- | Exception time: 4/23/2018 2:51:39 PM
4/23/2018 2:51:39 PM 4 -- |
4/23/2018 2:51:39 PM 4 --ADXExceptionManager.DoError
4/23/2018 2:51:39 PM 4 --*!* ProcessError WndProc
4/23/2018 2:51:39 PM 4 -- |
4/23/2018 2:51:39 PM 4 -- | WndProc: Out of memory.
4/23/2018 2:51:39 PM 4 -- | Exception time: 4/23/2018 2:51:39 PM
4/23/2018 2:51:39 PM 4 -- |
4/23/2018 2:51:39 PM 4 ADXXOlExceptionManager.InternalProcessError
4/23/2018 2:51:39 PM 4 |
4/23/2018 2:51:39 PM 4 | Out of memory.
4/23/2018 2:51:39 PM 4 | Exception time: 4/23/2018 2:51:39 PM
4/23/2018 2:51:39 PM 4 |
4/23/2018 2:51:39 PM 4 |
4/23/2018 2:51:39 PM 4 | Out of memory.
4/23/2018 2:51:39 PM 4 | Exception time: 4/23/2018 2:51:39 PM
4/23/2018 2:51:39 PM 4 |
4/23/2018 2:51:39 PM 4
4/23/2018 2:51:39 PM 4 {-Event IExplorerEvents_10.FolderSwitch
4/23/2018 2:51:39 PM 4 --CheckWordMailInspectorUnderExplorer
4/23/2018 2:51:39 PM 4 --
4/23/2018 2:51:39 PM 4 --{-Event ADXForm[Knowmail].Show
4/23/2018 2:51:39 PM 4 ----SetHTMLDocumentTitle
4/23/2018 2:51:39 PM 4 ----OnActivated
4/23/2018 2:51:39 PM 4 --------ADXOlHook.UpdateCTP
4/23/2018 2:51:39 PM 4 ------ADXOlFormsManager.UpdateCTP
4/23/2018 2:51:39 PM 4 ----ADXOlForm.UpdateCTPParam
4/23/2018 2:51:39 PM 4 ------SetNewWindowProc
4/23/2018 2:51:39 PM 4 ------
4/23/2018 2:51:39 PM 4 ------{-Event SendFormContainer: WM_ADXADDFORM
4/23/2018 2:51:39 PM 4 ------{+Event SendFormContainer: WM_ADXADDFORM
4/23/2018 2:51:39 PM 4 ------
4/23/2018 2:51:39 PM 4 ------SetCurrentProcToOldWindowProc
4/23/2018 2:51:39 PM 4 ----ADXForm.AdxInject: Handle = 1E09CE Text = Knowmail
4/23/2018 2:51:38 PM 4 --{+Event ADXForm[Knowmail].Show
4/23/2018 2:51:38 PM 4 --
4/23/2018 2:51:38 PM 4 --SetHTMLDocumentTitle
4/23/2018 2:51:38 PM 4 --ADXOlForm.AdxOlShow
4/23/2018 2:51:38 PM 4 ----NewRefObj ExplorerArgs.ExplorerObj
4/23/2018 2:51:38 PM 4 ------Release explorerObj
4/23/2018 2:51:38 PM 4 ------DisposeFolderObjects
4/23/2018 2:51:38 PM 4 ----DisposeOutlookObjects
4/23/2018 2:51:38 PM 4 --InitializeForm
4/23/2018 2:51:38 PM 4 --SetExplorerAppWindowProperty
4/23/2018 2:51:38 PM 4 --IsContextSupport
4/23/2018 2:51:38 PM 4 --DoExplorerFormShow
4/23/2018 2:51:38 PM 4 --ADXOlHook.DeleteCTP. Position = 1
4/23/2018 2:51:38 PM 4 --ADXOlHook.DeleteCTP. Position = 2
4/23/2018 2:51:38 PM 4 --ADXOlHook.DeleteCTP. Position = 0
4/23/2018 2:51:38 PM 4 --ADXOlHook.DeleteCTP. Position = 3
4/23/2018 2:51:38 PM 4 --ADXOlServiceForm.Hide
4/23/2018 2:51:38 PM 4 --SendMessageFindWindows
4/23/2018 2:51:38 PM 4 --{-Hide forms
4/23/2018 2:51:38 PM 4 ----DisposeFolderObjects
4/23/2018 2:51:38 PM 4 ----HideExplorerForms
4/23/2018 2:51:38 PM 4 --{+Hide forms
4/23/2018 2:51:38 PM 4 --{-LOCK in DeleteAllNotCachedExplorerForms
4/23/2018 2:51:38 PM 4 ----{-DeleteAllNotCachedExplorerForms
4/23/2018 2:51:38 PM 4 ------{-DeleteExplorerForms
4/23/2018 2:51:38 PM 4 ------{+DeleteExplorerForms
4/23/2018 2:51:38 PM 4 ------{-DeleteExplorerForms
4/23/2018 2:51:38 PM 4 ------{+DeleteExplorerForms
4/23/2018 2:51:38 PM 4 ----{+DeleteAllNotCachedExplorerForms
4/23/2018 2:51:38 PM 4 --{+LOCK in DeleteAllNotCachedExplorerForms
4/23/2018 2:51:38 PM 4 --CancelIsHiddenByDeveloperFlagForExplorerForms
4/23/2018 2:51:38 PM 4 --DoExplorerFolderSwitch
4/23/2018 2:51:38 PM 4 --InitFolderProperties
4/23/2018 2:51:38 PM 4 --ADXOlExplorerArguments 1 FolderEvent
4/23/2018 2:51:38 PM 4 {+Event IExplorerEvents_10.FolderSwitch
4/23/2018 2:51:38 PM 4
4/23/2018 2:51:38 PM 4 DoReadingPaneHide
4/23/2018 2:51:38 PM 4 Event OnCommonExplorerWindowHide 40AE6, 10
4/23/2018 2:51:38 PM 4 Event OnCommonReceiverWindowHide 40AE6, 10
4/23/2018 2:51:38 PM 4
4/23/2018 2:51:38 PM 4 {-Event Event IExplorerEvents_10.BeforeFolderSwitch
4/23/2018 2:51:38 PM 4 ----IsContextSupport
4/23/2018 2:51:38 PM 4 ----InitFolderProperties
4/23/2018 2:51:38 PM 4 ----ADXOlExplorerArguments 2 WebViewProcess
4/23/2018 2:51:38 PM 4 ----ADXOlExplorerArguments.NewWithFolder
4/23/2018 2:51:38 PM 4 ----ProcessFolderWebViewPane: Knowmail
4/23/2018 2:51:38 PM 4 ----IsUnderOutbox
4/23/2018 2:51:38 PM 4 --ProcessFolderWebViewPane
4/23/2018 2:51:38 PM 4 --ADXOlServiceForm.Hide
4/23/2018 2:51:38 PM 4 --SendMessageFindWindows
4/23/2018 2:51:38 PM 4 --ADXOlServiceForm.Hide
4/23/2018 2:51:38 PM 4 --SendMessageFindWindows
4/23/2018 2:51:38 PM 4 --ADXOlHook.DeleteCTP. Position = 1
4/23/2018 2:51:38 PM 4 --ADXOlHook.DeleteCTP. Position = 2
4/23/2018 2:51:38 PM 4 --ADXOlHook.DeleteCTP. Position = 0
4/23/2018 2:51:38 PM 4 --ADXOlHook.DeleteCTP. Position = 3
4/23/2018 2:51:38 PM 4 --DoExplorerBeforeFolderSwitch
4/23/2018 2:51:38 PM 4 --InitFolderProperties
Posted 25 Apr, 2018 01:11:31 Top
Nick Whymark




Posts: 6
Joined: 2018-01-15
Avi,

Sorry to jump onto your thread, but I was just installing the latest version in the hope it had fixed my very similar issue when I saw your post.

Your problem looks similar to all the issues reported in the threads listed below (one of which is mine).

I had hoped it was fixed in the latest release, but if you're using 8.9.4453.2005 then I guess not!

In our case we believe it is related to our user having a high-res screen (4K), although we bought a cheap 4k monitor and couldn't recreate it ourselves.

Threads:
https://www.add-in-express.com/forum/read.php?FID=5&TID=14832
https://www.add-in-express.com/forum/read.php?FID=5&TID=13829
https://www.add-in-express.com/forum/read.php?FID=5&TID=13764
https://www.add-in-express.com/forum/read.php?PAGEN_1=2&FID=5&TID=14409#nav_start

Nick
Posted 25 Apr, 2018 10:22:47 Top
Andrei Smolin


Add-in Express team


Posts: 16073
Joined: 2006-05-11
Hello Avi and Nick,

We would need to have some code and scenario to test. Would this be possible?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 26 Apr, 2018 09:55:49 Top
Nick Whymark




Posts: 6
Joined: 2018-01-15
Hi Andrei,

Unfortunately we haven't been able to recreate it either, we even bought a cheap 4K monitor specifically to try and recreate it. We hoped to recreate the error and then try again after updating to the latest version of add-in express to prove that it was fixed.

We have a couple of users at different clients who are seeing the issue, I know that one of them has a Dell P4317Q 4K. Unfortunately it's not possible to get any time on their PCs to try and narrow the issue.

Regards,
Nick.
Posted 30 Apr, 2018 11:50:23 Top