Bug #80324 System.OutOfMemoryException Message
Submitted: 9 Feb 2016 20:10 Modified: 9 Feb 2016 22:10
Reporter: Joseph Labate Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.3.5 build 201 CE OS:Windows (Windows 10)
Assigned to: CPU Architecture:Any

[9 Feb 2016 20:10] Joseph Labate
Description:
Ever since I upgraded from Windows 8.1 to Windows 10, I am getting an error when trying to query my database or even open a new query window. 

How to repeat:
1. Launch Workbench
2. Click the connection to my database

This is enough for me to trigger the error. 

Also, once my instance is opened, if I try to open a new query tab I get the error. If I right click on a table and click select 1000 rows, I get the error. The error prevents the query and results windows from displaying.

--------

The error that gets logged when opening the instance is:

14:30:16 [ERR][      Workbench]: Out of memory.
Exception = System.OutOfMemoryException
Message = Out of memory.
FullText = System.OutOfMemoryException: Out of memory.
   at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
   at MySQL.Forms.ToolBarWrapper.set_item_icon(ToolBarItem* item, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* path)
   at MySQL.Forms.ViewEventTarget.HandleMouseClick(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

--------

The error that gets logged when trying to open a new query window is:

14:33:52 [ERR][      Workbench]: Out of memory.
Exception = System.OutOfMemoryException
Message = Out of memory.
FullText = System.OutOfMemoryException: Out of memory.
   at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
   at MySQL.Forms.ToolBarWrapper.set_item_icon(ToolBarItem* item, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* path)
   at mforms.ToolBarItem.callback(ToolBarItem* )
   at ToolbarItemEventTarget.OnItemActivation(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[9 Feb 2016 20:14] Joseph Labate
Error Screenshot

Attachment: Capture.PNG (image/png, text), 92.55 KiB.

[9 Feb 2016 20:26] Joseph Labate
Error video

Attachment: screen_capture.gif (image/gif, text), 661.60 KiB.

[9 Feb 2016 20:37] Joseph Labate
Help > System Info:

MySQL Workbench Community (GPL) for Windows version 6.3.5 CE build 201 (64 bit)
Configuration Directory: C:\Users\Joseph\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
Cairo Version: 1.10.2
OS: Microsoft Windows 10 Home
CPU: 8x Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz, 7.9 GiB RAM
Active video adapter Intel(R) HD Graphics 4600
Installed video RAM: 1024 MB
Current video mode: 1920 x 1080 x 4294967296 colors
Used bit depth: 32
Driver version: 20.19.15.4331
Installed display drivers: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll,igdumdim32,igd10iumd32,igd10iumd32,igd12umd32
Current user language: English (United States)
[9 Feb 2016 20:44] Joseph Labate
Error video with system memory displayed, which shows I have plenty of available memory

Attachment: error_capture_2.gif (image/gif, text), 703.16 KiB.

[9 Feb 2016 20:49] MySQL Verification Team
Please try version 6.3.6. Thanks.
[9 Feb 2016 22:10] Joseph Labate
Thanks you. That worked.