Out Of Memory Exception

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

Out Of Memory Exception
 
Paul Riddington


Guest


We are experiencing an OutOfMemory exception for a number of users, similar to this issue https://www.add-in-express.com/forum/read.php?FID=5&TID=13829

The error we receive is as follows:

Application Domain: C:\Users\XXXXXX\AppData\Local\Apps\2.0\PC3TPHOM.2OC\THL4Q3Q3.C3P\acss..ddin_25532adede493e10_0002.0000_f8739c0c8d2af8a1\
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: 16/07/2016 12:43:59
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 0044 (0x2C) IL
System.Drawing.Graphics.DrawImage(image As Image, x As Int32, y As Int32)
AddinExpress.OL.2005.DLL: N 0055 (0x37) IL
AddinExpress.Extensions.AdxContainerPane.PaintTo(destDC As IntPtr, X As Int32, Y As Int32)
AddinExpress.OL.2005.DLL: N 0181 (0xB5) IL
AddinExpress.Extensions.AdxContainerPane.OnPaint(e As PaintEventArgs)
AddinExpress.OL.2005.DLL: N 0028 (0x1C) 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 0901 (0x385) IL
AddinExpress.Extensions.AdxTheme.WndProc(m As Message&)
AddinExpress.OL.2005.DLL: N 0001 (0x1) IL
AddinExpress.Extensions.AdxContainerPane.WndProc(m As Message&)
AddinExpress.OL.2005.DLL: N 0841 (0x349) IL

The version in use is v8.3.4393
Posted 03 Mar, 2017 06:34:34 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Paul,

The issue is now filed down in our bug-tracking DB under #10361. I'll send you a note when I have news from our guys.


Andrei Smolin
Add-in Express Team Leader
Posted 03 Mar, 2017 08:04:56 Top
Paul Riddington


Guest


Any update on this please?

Many thanks,

Paul
Posted 14 Mar, 2017 09:36:24 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Paul,

No updates. Sorry.


Andrei Smolin
Add-in Express Team Leader
Posted 14 Mar, 2017 09:40:53 Top
Paul Riddington


Guest


Any update on this yet please? We are getting pretty desperate!
Paul
Posted 24 Mar, 2017 08:00:01 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Paul,

Sorry, there are a lot of changes in the code, it is not ready even for testing yet.
Posted 24 Mar, 2017 11:24:46 Top
jose agith joseph




Posts: 3
Joined: 2017-04-19
Team,

On the same context , one of our application faces similar kind of issue on Outofmemory exception on Add-in Express for MS office and .Net.

Here it is the complete stack trace for your reference. Kindly check and let us know the update.

---- Stack Trace ----

ssembly Full Name: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Assembly Version: 4.0.0.0

Assembly Build Date: 12/1/2016 3:04:22 AM



Exception Source: System.Drawing

Exception Type: System.OutOfMemoryException

Exception Message: Out of memory.

Exception Target Site: CheckErrorStatus

System.Drawing.Graphics.CheckErrorStatus(status As Int32)

AddinExpress.OL.2005.DLL: N 0000 (0x0) IL

System.Drawing.Graphics.DrawImage(image As Image, x As Int32, y As Int32)

AddinExpress.OL.2005.DLL: N 0055 (0x37) IL

System.Drawing.Graphics.DrawImage(image As Image, point As Point)

AddinExpress.OL.2005.DLL: N 0000 (0x0) IL

AddinExpress.Extensions.ADXContainerControlOL.OnPaintBackground(pevent As PaintEventArgs)

AddinExpress.OL.2005.DLL: N 0183 (0xB7) IL

System.Windows.Forms.Control.PaintWithErrorHandling(e As PaintEventArgs, layer As Int16)

AddinExpress.OL.2005.DLL: N 0073 (0x49) IL

System.Windows.Forms.Control.WmPaint(m As Message&)

AddinExpress.OL.2005.DLL: N 0373 (0x175) IL

System.Windows.Forms.Control.WndProc(m As Message&)

AddinExpress.OL.2005.DLL: N 0884 (0x374) IL

AddinExpress.Extensions.ADXContainerControl.WndProc(m As Message&)

AddinExpress.OL.2005.DLL: N 0885 (0x375) IL
Posted 19 Apr, 2017 04:33:46 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Jose,

Thank you. This is caused by an issue in GDI+ when creating a *big* bitmap. We work on our code trying to bypass this issue.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Apr, 2017 06:07:24 Top
Balaji


Guest


Hi Andrei,

Please let us know if in case we required to get the updated patch from Add-In Express that resolves or bypass this issue.



Thanks,
Balaji
Posted 24 Apr, 2017 06:45:45 Top
Paul Riddington


Guest


Are you any closer to a fix?

I have many user who have been running my add-in for years, crash free, until around December 2016. I now have a number of very unhappy users asking me what's changed and I don't have an answer! What has changed?

Regards,

Paul
Posted 26 Apr, 2017 03:32:35 Top