Server Error in '/' 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.]
   Go12478(RegexRunner ) +0
   System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick, TimeSpan timeout) +304
   System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat) +212
   System.Text.RegularExpressions.Regex.IsMatch(String input, Int32 startat) +55
   PetaPoco.Database.AddSelectClause(String sql, Type type, List`1 fieldList) in e:\李升杰\S商城CMS\AspNetTemplate\DataSource\PetaPoco\PetaPoco.cs:636
   PetaPoco.Database.AddSelectClause(String sql) in e:\李升杰\S商城CMS\AspNetTemplate\DataSource\PetaPoco\PetaPoco.cs:617
   PetaPoco.<Query>d__7`1.MoveNext() in e:\李升杰\S商城CMS\AspNetTemplate\DataSource\PetaPoco\PetaPoco.cs:999
   System.Linq.Enumerable.SingleOrDefault(IEnumerable`1 source) +202
   PetaPoco.Database.SingleOrDefault(String sql, Object[] args) in e:\李升杰\S商城CMS\AspNetTemplate\DataSource\PetaPoco\PetaPoco.cs:1642
   PetaPoco.Database.SingleOrDefault(Object primaryKey) in e:\李升杰\S商城CMS\AspNetTemplate\DataSource\PetaPoco\PetaPoco.cs:1607
   Mines.Lavery.GetModel(Int32 Id) in e:\李升杰\S商城CMS\AspNetTemplate\DataSource\Mines\Lavery.cs:369
   Mines.BLL.Base`1.GetModel(Int32 Id) in e:\李升杰\S商城CMS\AspNetTemplate\DataSource\Mines\BLL\Base.cs:347
   Smarta.Web.UI.Aspx.Life.List() +127
   lambda_method(Closure , Object , Object[] ) +87
   Mines.DynamicMethodExecutor.Execute(MethodInfo methodInfo, Object instance, Object[] parameters) in e:\李升杰\S商城CMS\AspNetTemplate\DataSource\Mines\DynamicMethodExecutor.cs:54
   WebAspNet.AspNetHttpModule.context_PreRequestHandlerExecute(Object sender, EventArgs e) in e:\李升杰\S商城CMS\AspNetTemplate\DataSource\WebAspNet\AspNetHttpModule.cs:103
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +139
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88


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