How can we help you today? How can we help you today?
MFrenzel

Activity overview

Latest activity by MFrenzel

I looked in the logs since the Loading bar in the little tool window was suddenly full after beeing only 25% full and found a System.OutOfMemoryException. Currently there are slightly over 27000 stored procedures in the-database…  <div>2024-11-27 15:03:29.375 +01:00 [Debug] [the-server].[the-databse] progress: Processing parameters... [~500 lines omitted for readability] 2024-11-27 15:44:30.746 +01:00 [Warning] Database population step failed for database the-database - step parameters</div><div>System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.</div><div>&nbsp; &nbsp;at Microsoft.Data.SqlClient.TdsParser.TryReadPlpUnicodeChars(Char[]& buff, Int32 offst, Int32 len, TdsParserStateObject stateObj, Int32& totalCharsRead)</div><div>&nbsp; &nbsp;at Microsoft.Data.SqlClient.TdsParser.TryReadSqlStringValue(SqlBuffer value, Byte type, Int32 length, Encoding encoding, Boolean isPlp, TdsParserStateObject stateObj)</div><div>&nbsp; &nbsp;at Microsoft.Data.SqlClient.TdsParser.TryReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj, SqlCommandColumnEncryptionSetting columnEncryptionOverride, String columnName, SqlCommand command)</div><div>&nbsp; &nbsp;at Microsoft.Data.SqlClient.SqlDataReader.TryReadColumnData()</div><div>&nbsp; &nbsp;at Microsoft.Data.SqlClient.SqlDataReader.TryReadColumnInternal(Int32 i, Boolean readHeaderOnly, Boolean forStreaming)</div><div>&nbsp; &nbsp;at Microsoft.Data.SqlClient.SqlDataReader.TryReadColumn(Int32 i, Boolean setTimeout, Boolean allowPartiallyReadColumn, Boolean forStreaming)</div><div>&nbsp; &nbsp;at Microsoft.Data.SqlClient.SqlDataReader.GetValueInternal(Int32 i)</div><div>&nbsp; &nbsp;at Microsoft.Data.SqlClient.SqlDataReader.GetValue(Int32 i)</div><div>&nbsp; &nbsp;at Microsoft.Data.SqlClient.SqlDataReader.get_Item(Int32 i)</div><div>&nbsp; &nbsp;at RedGate.SqlPrompt.Cache.Population.Steps.Queries.ObjectDefinitionQuery.Execute(IDbCommand command, ICollection`1 objectIds)</div><div>&nbsp; &nbsp;at RedGate.SqlPrompt.Cache.Population.Steps.Queries.Unfiltered.ParameterQuery.Execute(IDbCommand command)</div><div>&nbsp; &nbsp;at RedGate.SqlPrompt.Cache.Population.Steps.ParameterPopulationStep.Populate(IDbCommand command)</div><div>&nbsp; &nbsp;at RedGate.SqlPrompt.Cache.Population.DatabasePopulator.PopulateStep(DebugLogger logger, DbCommand command, IDatabasePopulationStep populationStep, String databaseName, Single overallPercentageComplete) </div> / comments
I looked in the logs since the Loading bar in the little tool window was suddenly full after beeing only 25% full and found a System.OutOfMemoryException. Currently there are slightly over 27000 st...
0 votes
I'm currently having the same problems. I just installed SQL Prompt 10.15.3.12768 just so I can experience this penomenon too. Being the DBA I saw more and more of those Select-Queries @BiestMode described in the first post. I wondered why I didn't experience those behaviour. So I installed said version manually (because the auto updater said SQL Prompt was already up to date). The little UI-Window just keeps displaying  Loading {database_name} Processing parameters… {Loading bar approx. 25% filled} The end of the verbose log reads like this (cleaned sensitive data) <p>2024-11-27 15:03:11.673 +01:00 [Debug] [the-sql-server].[the-database] progress: Connecting...</p><p>2024-11-27 15:03:14.031 +01:00 [Information] Populating [the-sql-server].[the-database] as "Sql2016"</p><p>2024-11-27 15:03:14.031 +01:00 [Debug] Loading schema [the-database]</p><p>2024-11-27 15:03:14.031 +01:00 [Debug] [the-sql-server].[the-database] progress: Processing schemas...</p><p>2024-11-27 15:03:14.046 +01:00 [Debug]&nbsp; &nbsp; &nbsp;Time taken for schemas [the-database] = "00:00:00.0253054" [89 rows]</p> <p>2024-11-27 15:03:14.046 +01:00 [Debug] [the-sql-server].[the-database] progress: Processing objects...</p><p>2024-11-27 15:03:21.239 +01:00 [Warning] Couldn't find table owner 1441719338 for DF__xxxx.</p><p>2024-11-27 15:03:21.239 +01:00 [Warning] Couldn't find table owner 2074802799 for DF__xxxxx.</p><p>2024-11-27 15:03:21.239 +01:00 [Warning] Couldn't find table owner 2074802799 for DF__xxxxxx.</p><p>2024-11-27 15:03:21.239 +01:00 [Warning] Couldn't find table owner 2074802799 for DF__xxxxxxx.</p><p>2024-11-27 15:03:21.239 +01:00 [Warning] Couldn't find table owner 1765194240 for DF__xxxxxxxx.</p><p>2024-11-27 15:03:21.239 +01:00 [Warning] Couldn't find table owner 1765194240 for DF__xxxxxxxxx.</p><p>2024-11-27 15:03:21.255 +01:00 [Debug]&nbsp; &nbsp; &nbsp;Time taken for objects [the-database] = "00:00:07.1952561" [43322 rows]</p><p>2024-11-27 15:03:21.255 +01:00 [Debug] [the-sql-server].[the-database] progress: Processing master objects...</p><p>2024-11-27 15:03:21.255 +01:00 [Debug]&nbsp; &nbsp; &nbsp;Time taken for master objects [the-database] = "00:00:00.0021998" [0 rows]</p><p>2024-11-27 15:03:21.255 +01:00 [Debug] [the-sql-server].[the-database] progress: Processing triggers...</p><p>2024-11-27 15:03:21.355 +01:00 [Debug]&nbsp; &nbsp; &nbsp;Time taken for triggers [the-database] = "00:00:00.1083274" [1093 rows]</p><p>2024-11-27 15:03:21.355 +01:00 [Debug] [the-sql-server].[the-database] progress: Processing data types...</p><p>2024-11-27 15:03:21.371 +01:00 [Debug]&nbsp; &nbsp; &nbsp;Time taken for data types [the-database] = "00:00:00.0165587" [47 rows]</p><p>2024-11-27 15:03:21.371 +01:00 [Debug] [the-sql-server].[the-database] progress: Processing ansi data types...</p><p>2024-11-27 15:03:21.371 +01:00 [Debug]&nbsp; &nbsp; &nbsp;Time taken for ansi data types [the-database] = "00:00:00.0000197" [0 rows]</p><p>2024-11-27 15:03:21.371 +01:00 [Debug] [the-sql-server].[the-database] progress: Processing columns...</p><p>2024-11-27 15:03:29.375 +01:00 [Debug]&nbsp; &nbsp; &nbsp;Time taken for columns [the-database] = "00:00:07.9992848" [117396 rows]</p><p>2024-11-27 15:03:29.375 +01:00 [Debug] [the-sql-server].[the-database] progress: Processing parameters...</p><div></div>And it will stay there for a very long time. Having currently 27225 stored procedures in [the-database]. It feels like the progress bar is filling up ever so slightly. / comments
I'm currently having the same problems.I just installed SQL Prompt 10.15.3.12768 just so I can experience this penomenon too. Being the DBA I saw more and more of those Select-Queries @BiestMode de...
0 votes