POI XWPF memory issue

Steve Longitude <[email protected]>
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <pony-3d8073f06dd0d9999b48926150b2fd9c313aea2a-dbc590d938cb1b96f6a697d6fdcb00b87a4d0ab7@user.poi.apache.org>
I am trying to create large Word document using POI XWPF java API. At some point I am getting OutOfMemoryError: GC overhead limit exceeded.
Is there some way to flush temporary result to IO, something similar to the SXSSFSheet flushRows()?
Or is there some other way to write temporary result to IO and release memory?

Thank you
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.