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 …...save(byteArrayOutputStrea, opts) The document size is only 229.4 kB , and the method...only works when we increase the JVM heap size (min and max) to...