We are encountering a heap memory error in the following line:
Document.save(byteArrayOutputStream, opts)
The Document size is only 229.4 kB, and the method is used to extract HTML text from all content controls.after …...line: document.save(byteArrayOutputStrea, opts) The document size...excessive given the small document size. Is there a more optimized...