# EDI large EDIBigDocThreshold issues

**URL:** <https://techcommunity.softwareag.com/t/edi-large-edibigdocthreshold-issues/107191>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [September 28, 2005, 4:47pm UTC](https://techcommunity.softwareag.com/t/edi-large-edibigdocthreshold-issues/107191 "2005-09-28T16:47:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsp](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@dsp](https://techcommunity.softwareag.com/u/dsp)\
**Post date:** [September 28, 2005, 4:47pm UTC](https://techcommunity.softwareag.com/t/edi-large-edibigdocthreshold-issues/107191/1 "2005-09-28T16:47:37Z")

</div>

We have to process large EDI files (~600Meg the size for the largest file). The current process lets TN detect the sender and receiver; document type and finally the processing rule forwards the data to a service that does all the processing. When file is passed into TN it is treated as a flat file (it was a design decision not to use EDI features.) So the processing service does the envelope check, generates FA and then finally does mapping of EDI data to internal format. The TN and EDI have been configured for large file handling. The issue we are facing is that when we send in a file above the large doc threshold (tn.BigDocThreshold=9999 and EDIBigDocThreshold=9999), so the EDI document size is say 1 Meg., the generateFA service creates FA in error (if we increase the thresholds above 1 Meg, FA for the same file has no problems). Since the complete FA is kept in the memory, with even larger files we start getting OutOfMemory error from this service. Or at least that is what we think is happening. We have following patches applied WmEDI\_6-1\_Fix26, IS\_6-1\_Fix46 and WmEDIForTN\_6-1\_Fix27 applied to our IS.

Following flow steps can simulate our flow service:

pub.file:getFile  
Map ffdata to edidata (validate=true, complianceCheck=true)  
wm.b2b.edi:envelopProcess  
wm.b2b.edi.util:generateFA (ICValues=Values from envelopeProcess service, FALevel=element,generateControlNumber=FromControlumberTable,syntaxErrorStatus=Rejected, logicalErrorStatus=Rejected,childTransactionRejectedStatus=Partially Accepted, standartVC=X12)

Any help will be really appreciated.  
Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:04pm UTC](https://techcommunity.softwareag.com/t/edi-large-edibigdocthreshold-issues/107191/2 "2021-04-02T15:04:42Z")

</div>

Closed on April 2, 2021, 3:04pm UTC


