KB Article #181409
HME process terminated when processing a file larger than 2.1GB in DML
Problem
-- getting the processing engine terminated when processing a file larger than 2.1GB in a DML flow
WARNING:20200609 11.57.19.36:b2b-server:r4edi(starter):process "HierchMsgTask_988_1028_1" terminated
WARNING:20200609 11.57.19.36:b2b-server:r4edi(starter):process "ProcengineTask_1028_1" terminated
WARNING:20200609 11.57.19.39:b2b-server:r4edi(b2bx_server):runtimemonitor.s4m:988:User task 'B2Bi PE HME 3 Task 4' has terminated
Resolution
* in Integrator 3.7.3 and in B2Bi 2.6 SP1 and lower versions, the size of a message is limited to 2.1GB when processed in a DML flow
* the problem occurs when parsing the message, even if the definition of the fields in the Business Document exceeds this size
* the limitation is gone in B2Bi 2.6 SP2 and higher versions
* that said, from a performance perspective, it recommended to use a MBC to process such large message
* to avoid the processing engoine to stop because of such large message entering in a DML flow, you can add the MBC attached as pre-processing that will reject the message before entering in the DML flow, if the size of the message is larger than a specific value (hard-coded in line 75)