Server Error in '/forum' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Data.TreePage..ctor(Int32 size) +29
   System.Data.RBTree`1.AllocPage(Int32 size) +62
   System.Data.RBTree`1.GetNewNode(K key) +5043518
   System.Data.Index.InitRecords(IFilter filter) +322
   System.Data.Index..ctor(DataTable table, Int32[] ndexDesc, IndexField[] indexFields, Comparison`1 comparison, DataViewRowState recordStates, IFilter rowFilter) +455
   System.Data.DataTable.GetIndex(IndexField[] indexDesc, DataViewRowState recordStates, IFilter rowFilter) +228
   System.Data.DataColumn.get_SortIndex() +96
   System.Data.DataColumn.IsNotAllowDBNullViolated() +17
   System.Data.DataSet.EnableConstraints() +306
   System.Data.DataSet.set_EnforceConstraints(Boolean value) +81
   System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) +357
   System.Data.Common.LoadAdapter.FillFromReader(DataTable[] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) +19
   System.Data.DataTable.Load(IDataReader reader, LoadOption loadOption, FillErrorEventHandler errorHandler) +225
   aspnetforum.messages.BindMessagesRepeater(Int32 topicId, DbConnection cn, Repeater rptMessagesList, Boolean isModerator, Boolean sortDesc, HttpRequest request, Int32 pageSize, String& pagerString) +581
   aspnetforum.messages.Page_Load(Object sender, EventArgs e) +1793
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1031