Hello team,
We are getting this error when trying to do a New Deposit Payment in Cash Receipt Entry
As soon as we hit Save it hangs the whole System and knocks Epicor offline for everyone, the Ap Server stops and restarts……
I have turned all customizations off and all any BPMs (we only had one to check for overpayments)
Does anyone have any bright ideas…
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Text.StringBuilder.ToString() at Erp.Internal.PE.PEMessage.TryReadUntilFileAccessible(String fileName) in C:\_Releases\ERP\ERP10.2.400.0\Source\Server\Internal\PE\PEMessage\PEMessage.cs:line 245 at Erp.Internal.PE.PEMessage.UpdatePostInfo(String newPostInfo, String postingUID) in C:\_Releases\ERP\ERP10.2.400.0\Source\Server\Internal\PE\PEMessage\PEMessage.cs:line 197 at Erp.Internal.PE.LogView.UpdatePostInfo() in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Internal\PE\PEData\LogView.cs:line 178 at Erp.Internal.PE.LogView.FinalTag() in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Internal\PE\PEData\LogView.cs:line 580 at Erp.Internal.PE.Pre_PostBase._RunProcess(Int64 instance_TaskNum, String groupID, PostingMode mode, Boolean skipPEDataInit) in C:\_Releases\ERP\ERP10.2.400.0\Source\Server\Internal\PE\Pre_PostBase\Pre_PostBase.cs:line 148 at Erp.Internal.PE.AR_PaymentPre_Post.Pre_Post(Int64 instance_TaskNum, String groupID, PostingMode mode) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Internal\PE\AR_Payment\AR_PaymentPre_Post.cs:line 225 at Erp.Internal.PE.AR_PaymentPre_Post.CalculateGLControl[T](String groupID, List`1 tranGLCRows) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Internal\PE\AR_Payment\AR_PaymentPre_Post.cs:line 257 at Erp.Services.BO.CashRecSvc.SetGL(Boolean update) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Services\BO\CashRec\CashRec.cs:line 14019 at Erp.Services.BO.CashRecSvc.CashHeadAfterUpdate() in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Services\BO\CashRec\CashRec.cs:line 5383 at Ice.Services.Trace.TablesetProfilingCollector.DoRowEventTrace(String tableName, String methodName, Int32 rowCount, Action action) in C:\_Releases\ICE\ICE3.2.400.13\Source\Framework\Epicor.Ice\Services\TablesetProfilingCollector.cs:line 128 at Ice.TablesetBound`3.CreateRow(IceDataContext dataContext, Int32 tableNum, IIceTable table, IceRow newTablesetRow, TablesetProfilingCollector parentTraceCollector) in C:\_Releases\ICE\ICE3.2.400.13\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 1189 at Ice.TablesetBound`3.WriteTable(IceDataContext dataContext, Int32 tableIndex, IIceTable table, TablesetProfilingCollector parentTraceCollector) in C:\_Releases\ICE\ICE3.2.400.13\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 965 at Ice.TablesetBound`3.InnerUpdate[TUpdater](IceDataContext dataContext, TFullTableset tableset) in C:\_Releases\ICE\ICE3.2.400.13\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 866 at Erp.Services.BO.CashRecSvc.UpdateMaster(CashRecTableset& ds, String ipGroupID, String ipTableName, Boolean updGroupTotals, Decimal& opTotalCashReceived, Decimal& opTotalApplied, Decimal& opUnappliedBalance, Decimal& opTotalMisc, Decimal& opTotalDiscount, Decimal& opTotalDeposit, Decimal& opTotalARAmount, Decimal& opTotalWithhold, Decimal& opTotalWriteOff, Boolean& opUpdateRan, Int32 ipIgnoreValidation) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Services\BO\CashRec\CashRec.cs:line 15151 at Erp.Services.BO.CashRecSvcFacade.UpdateMaster(CashRecTableset& ds, String ipGroupID, String ipTableName, Boolean updGroupTotals, Decimal& opTotalCashReceived, Decimal& opTotalApplied, Decimal& opUnappliedBalance, Decimal& opTotalMisc, Decimal& opTotalDiscount, Decimal& opTotalDeposit, Decimal& opTotalARAmount, Decimal& opTotalWithhold, Decimal& opTotalWriteOff, Boolean& opUpdateRan, Int32 ipIgnoreValidation) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Services\BO\CashRec\CashRecSvcFacade.cs:line 3168 at SyncInvokeUpdateMaster(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.400.0\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59 at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.400.0\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 47 at Epicor.Hosting.Wcf.EpiOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) in C:\_Releases\ICE\ICE3.2.400.0\Source\Framework\Epicor.System\Hosting\Wcf\EpiOperationInvoker.cs:line 23 at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext) at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext) at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result) at System.ServiceModel.Dispatcher.ChannelHandler.OnAsyncReceiveComplete(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.ServiceModel.Channels.SecurityChannelListener`1.ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state) at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Net.LazyAsyncResult.Complete(IntPtr userToken) at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken) at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest asyncRequest) at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result) at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes) at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state) at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs e) at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(SocketError socketError, Int32 bytesTransferred, SocketFlags flags) at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
and
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Text.StringBuilder.ToString() at Erp.Internal.PE.PEMessage.TryReadUntilFileAccessible(String fileName) in C:\_Releases\ERP\ERP10.2.400.0\Source\Server\Internal\PE\PEMessage\PEMessage.cs:line 245 at Erp.Internal.PE.PEMessage.UpdatePostInfo(String newPostInfo, String postingUID) in C:\_Releases\ERP\ERP10.2.400.0\Source\Server\Internal\PE\PEMessage\PEMessage.cs:line 197 at Erp.Internal.PE.LogView.UpdatePostInfo() in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Internal\PE\PEData\LogView.cs:line 178 at Erp.Internal.PE.LogView.FinalTag() in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Internal\PE\PEData\LogView.cs:line 580 at Erp.Internal.PE.Pre_PostBase._RunProcess(Int64 instance_TaskNum, String groupID, PostingMode mode, Boolean skipPEDataInit) in C:\_Releases\ERP\ERP10.2.400.0\Source\Server\Internal\PE\Pre_PostBase\Pre_PostBase.cs:line 148 at Erp.Internal.PE.AR_PaymentPre_Post.Pre_Post(Int64 instance_TaskNum, String groupID, PostingMode mode) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Internal\PE\AR_Payment\AR_PaymentPre_Post.cs:line 225 at Erp.Internal.PE.AR_PaymentPre_Post.CalculateGLControl[T](String groupID, List`1 tranGLCRows) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Internal\PE\AR_Payment\AR_PaymentPre_Post.cs:line 257 at Erp.Services.BO.CashRecSvc.SetGL(Boolean update) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Services\BO\CashRec\CashRec.cs:line 14019 at Erp.Services.BO.CashRecSvc.CashHeadAfterUpdate() in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Services\BO\CashRec\CashRec.cs:line 5383 at Ice.Services.Trace.TablesetProfilingCollector.DoRowEventTrace(String tableName, String methodName, Int32 rowCount, Action action) in C:\_Releases\ICE\ICE3.2.400.13\Source\Framework\Epicor.Ice\Services\TablesetProfilingCollector.cs:line 128 at Ice.TablesetBound`3.CreateRow(IceDataContext dataContext, Int32 tableNum, IIceTable table, IceRow newTablesetRow, TablesetProfilingCollector parentTraceCollector) in C:\_Releases\ICE\ICE3.2.400.13\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 1189 at Ice.TablesetBound`3.WriteTable(IceDataContext dataContext, Int32 tableIndex, IIceTable table, TablesetProfilingCollector parentTraceCollector) in C:\_Releases\ICE\ICE3.2.400.13\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 965 at Ice.TablesetBound`3.InnerUpdate[TUpdater](IceDataContext dataContext, TFullTableset tableset) in C:\_Releases\ICE\ICE3.2.400.13\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 866 at Erp.Services.BO.CashRecSvc.UpdateMaster(CashRecTableset& ds, String ipGroupID, String ipTableName, Boolean updGroupTotals, Decimal& opTotalCashReceived, Decimal& opTotalApplied, Decimal& opUnappliedBalance, Decimal& opTotalMisc, Decimal& opTotalDiscount, Decimal& opTotalDeposit, Decimal& opTotalARAmount, Decimal& opTotalWithhold, Decimal& opTotalWriteOff, Boolean& opUpdateRan, Int32 ipIgnoreValidation) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Services\BO\CashRec\CashRec.cs:line 15151 at Erp.Services.BO.CashRecSvcFacade.UpdateMaster(CashRecTableset& ds, String ipGroupID, String ipTableName, Boolean updGroupTotals, Decimal& opTotalCashReceived, Decimal& opTotalApplied, Decimal& opUnappliedBalance, Decimal& opTotalMisc, Decimal& opTotalDiscount, Decimal& opTotalDeposit, Decimal& opTotalARAmount, Decimal& opTotalWithhold, Decimal& opTotalWriteOff, Boolean& opUpdateRan, Int32 ipIgnoreValidation) in C:\_Releases\ERP\UD10.2.400.13\Source\Server\Services\BO\CashRec\CashRecSvcFacade.cs:line 3168 at SyncInvokeUpdateMaster(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.400.0\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59 at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.400.0\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 28