Crash after a few hours

Added by Richard Roal about 4 years ago

Hi, I have AdiIRC running in a VPS and after few hours running it ends up crashing. I tried to clean the buffer every 15 minutes with the /clearall command but it doesn't work.

Not enough storage is available to process this command

IntPtr CreateCompatibleDIB(IntPtr, IntPtr, Int32, Int32, IntPtr ByRef)

   at System.Drawing.BufferedGraphicsContext.CreateCompatibleDIB(IntPtr hdc, IntPtr hpal, Int32 ulWidth, Int32 ulHeight, IntPtr& ppvBits)
   at System.Drawing.BufferedGraphicsContext.CreateBuffer(IntPtr src, Int32 offsetX, Int32 offsetY, Int32 width, Int32 height)
   at System.Drawing.BufferedGraphicsContext.AllocBuffer(Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle)
   at System.Drawing.BufferedGraphicsContext.Allocate(Graphics targetGraphics, Rectangle targetRectangle)
   at AdiIRC.GUI.Controls.TextView.ResizeMessages()
   at AdiIRC.GUI.Controls.TextView.OnResize(EventArgs e)
   at AdiIRC.GUI.Controls.TextView.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at AdiIRC.GUI.Controls.TextView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thank you.

Replies (1)

RE: Crash after a few hours - Added by Per Amundsen about 4 years ago

Does not look like an adiirc issue, are you using remote desktop to the vpn?

Remote desktop has a tendency to cause all kinds of weird graphic related crashes, probably from switching to a virtual graphics card or something like that.