I am getting error using the "Generate Data Script" function in Toad on a database. However, it works just fine with smaller databases.
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
Stack Trace:
at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength)
at System.Text.StringBuilder.Append(String value)
at Quest.Toad.SqlServer.Doe.GenerateDataScript.DataScriptProperties.GetScript()
at Quest.Toad.SqlServer.Doe.GenerateDataScript.GenerateDataScriptForm.GetScript()
at Quest.Toad.Doe.BaseDoeForm.UpdateScript()
at Quest.Toad.Doe.BaseDoeForm.selectPageList_SelectedValueChanged(Object sender, EventArgs e)
at DevExpress.XtraEditors.BaseListBoxControl.RaiseSelectedValueChanged()
at DevExpress.XtraEditors.BaseListBoxControl.OnSelectionChanged()
at DevExpress.XtraEditors.BaseListBoxControl.SelectedIndexCollection.Changed()
at DevExpress.XtraEditors.BaseListBoxControl.SelectedIndexCollection.Set(Int32 value)
at DevExpress.XtraEditors.ListBoxControlHandler.SingleSelectState.SetSelectedIndex(Int32 newIndex)
at DevExpress.XtraEditors.ListBoxControlHandler.OnSetSelectedIndex(Int32 newIndex)
at DevExpress.XtraEditors.BaseListBoxControl.SetSelectedIndexCore(Int32 index)
at DevExpress.XtraEditors.BaseListBoxControl.set_SelectedIndex(Int32 value)
at DevExpress.XtraEditors.ImageListBoxControl.SetItemCore(Object item)
at DevExpress.XtraEditors.BaseListBoxControl.OnSetItem(Object item)
at DevExpress.XtraEditors.BaseListBoxControl.set_SelectedItem(Object value)
at Quest.Toad.Doe.BaseDoeForm.set_ActivePage(DoePageControl value)
at Quest.Toad.Doe.BaseDoeForm.buttonPanelControl_OKButtonClick(Object sender
WORKAROUND:
None
STATUS:
Waiting for fix in a future version of Toad for SQL Server.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center