Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


An error occurred while executing batch. Error message is: Exception of type...


An error occurred while executing batch. Error message is: Exception of type 'System.OutOfMemoryException' was thrown.

Author
Message
todda
todda
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 3
My best guess is that the garbage cleanup in SSMS is flawed.
I get this error repeatedly, usually under the following circumstances:
1. SSMS has been open for a long time (days...I don't usually shut down my PC at work)
2. Have at least 4-5 minimum query windows open
3. SSMS is using around 700MB of ram on my PC

At some point, even a request for just a table with a few rows of data will show this error.

Even if I close all query windows and open a new fresh window, the error still persists.

We're using SQL Server 2012 on the server, and SSMS for SQL Server 12 on local client machines.
All developers in our group have experienced this error at one time or another.

Advice to Microsoft: Once a query window is closed, clean-up memory to allow for new work to commence.



Fozzie
Fozzie
Old Hand
Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)

Group: General Forum Members
Points: 389 Visits: 1172
Ditto. I do leave SSMS running for a few days, and I get it moaning at me. I've got 11GB of RAM free on my workstation and still it complains.

"An error occurred while executing batch. Error message is: Exception of type 'System.OutOfMemoryException' was thrown."

The GUI is also slower than 2008R2 when doing restores - yes I can code but sometimes its just nice to be lazy and use the GUI.

Two steps forward one step back...
aaron 69254
aaron 69254
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 9
The same is for SSMS 2012..it loses the plot also. Simply save your work and restart it and the problem is solved.
Kevin Eckart
Kevin Eckart
SSC Rookie
SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)

Group: General Forum Members
Points: 41 Visits: 366
From Microsoft: SSMS is a 32-bit process. Therefore, it is limited to 2 GB of memory.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search