Red Gate forums :: View topic - Tab History - Crashing
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt 6
SQL Prompt 6 forum

Tab History - Crashing

Search in SQL Prompt 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
howarthcd



Joined: 16 May 2007
Posts: 50

PostPosted: Tue Jul 22, 2014 8:46 am    Post subject: Tab History - Crashing Reply with quote

I recently opened a large (16MB) SQL script in SSMS 2014 and now whenever I try to view the Tab History SQL Prompt (6.3.0.354) crashes with an out of memory error and the Tab History window remains empty.

Presumably the large file is stored in the Tab History's db file and is causing the application to error when reading the content due to its size. I had to manually edit the xml configuration file as SSMS continually crashed upon opening as SQL Prompt was attempting to restore the open tabs.

Is there are way that I can manually remove the rogue entry from the db file as the history file contains items that I wish to retain?

Thanks
Chris
Back to top
View user's profile Send private message
howarthcd



Joined: 16 May 2007
Posts: 50

PostPosted: Tue Jul 22, 2014 8:56 am    Post subject: Reply with quote

Actually, I've managed to sort this out myself by downloading a copy of SQLite Database Browser and removing the problematic entries from the Document and DocumentVersion table.

All is now well.
Back to top
View user's profile Send private message
Aaron Law



Joined: 28 Jun 2013
Posts: 249
Location: Red Gate Software

PostPosted: Tue Jul 22, 2014 9:19 am    Post subject: Reply with quote

Hi Chris,

I'm glad you were able to solve this so quickly - I think you may have found the best way to remove a single tab without being able to access the UI!

We've included an option to limit the maximum size of a tab that the tab history feature will try to save in our 6.4 beta which defaults to 1MB and will hopefully avoid such situations in the future.

Thanks,
Aaron.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group