cancel
Showing results for 
Search instead for 
Did you mean: 

Out of Memory Exception in Blue Prism while using Region Mode

Arbaaz_KhanPat1
Level 2
Hi. I am using Region mode to identify a particular area of text iteratively and recognizing the text as character using Recognize Text option in the reader stage. The problem is after around 120 iterations, Blue Prism gives a pop up saying- "Blue Prism has encountered and unknown error. We apologize for this inconvenience. Please help us to resolve this problem by sending the error information ". Here is the error information:   System.OutOfMemoryException: Out of memory.    at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)    at System.Drawing.Font.GetHeight()    at System.Drawing.Font.get_Height()    at System.Windows.Forms.Control.get_FontHeight()    at System.Windows.Forms.TextBoxBase.get_PreferredHeight()    at System.Windows.Forms.TextBoxBase.get_DefaultSize()    at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)    at System.Windows.Forms.TextBoxBase..ctor()    at System.Windows.Forms.TextBox..ctor()    at System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)    at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)    at System.Windows.Forms.Control.WndProcException(Exception e)    at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)    at System.Windows.Forms.Application.RunDialog(Form form)    at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)    at System.Windows.Forms.Form.ShowDialog()    at AutomateUI.BPApplication.Start(String[] args)  
1 REPLY 1

ashish.easow
Staff
Staff
The problem with Out of memory error is, you will not know whether its due to the stage you are working on, or due to some other stage, or design problems or infra problems and unless someone has encountred it for the exact stage or is aknown bug, not many would be able to help you.I suggest contacting support or your DEM to check your flow.