Out of Memory Exception

Has anyone seen this one before? We are Cloud DT, and user was trying to Get Details in Engineering Work Bench. What is BMM10_GD?

Application Error

Exception caught in: Epicor.ServiceModel

Error Detail

Message: The type initializer for ‘The type initializer for ‘Erp.Internal.BM.BMM10_GD’ threw an exception.’ threw an exception.
Inner Exception Message: Exception of type ‘System.OutOfMemoryException’ was thrown.
Program: Epicor.ServiceModel.dll
Method: CallWithCommunicationFailureRetry

Client Stack Trace

at Epicor.ServiceModel.Channels.ImplBase.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer)
at Epicor.ServiceModel.Channels.ImplBase.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
at Epicor.ServiceModel.Channels.ImplBase.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
at Erp.Proxy.BO.EngWorkBenchImpl.GetDetailsFromMethods(String ipGroupID, String ipPartNum, String ipRevisionNum, String ipAltMethod, String ipProcessMfgID, Nullable`1 ipAsOfDate, Boolean ipCompleteTree, String ipPartRevPartNum, String ipPartRevRevisionNum, String ipPartRevAltMethod, String ipPartRevProcessMfgID, Boolean ipReturn, Boolean ipGetDatasetForTree, Boolean ipUseMethodForParts, Boolean ipCopyConfiguration, Boolean ipGetFromConfig)
at Erp.Adapters.EngWorkBenchAdapter.GetDetailsFromMethods(String ipGroupID, String ipPartNum, String ipRevisionNum, String ipAltMethod, String ipProcessMfgID, DateTime ipAsOfDate, Boolean ipCompleteTree, String ipPartRevPartNum, String ipPartRevRevisionNum, String ipPartRevAltMethod, String ipPartRevProcessMfgID, Boolean ipReturn, Boolean ipGetDatasetForTree, Boolean ipUseMethodForParts, Boolean ipCopyConfiguration, Boolean ipCopyFromConfig)

Inner Exception

Exception of type ‘System.OutOfMemoryException’ was thrown.

Sounds like you overflowed the 32 bit memory space. I’ve seen it happen a few times
Particularly if it’s a really nasty large dataset

If it is happening often try running the kinetic64 exe instead. I’ve had good luck with it it can address more memory

5 Likes

That one is Get Details… When you do Get Details from Import if I recall it runs this internal method and then returns data to the Client.

2 Likes

I consider all my errors as “GD” errors.

3 Likes