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 …...memory-efficient way to handle this case? private static org.jsoup.nodes...recommend to handle our use case? Previously, we used a generic...