I routinely generate PDF using mPDF but on larger documents (mainly reports off a databse) I encounter a memory issue and was wondering if in phpdocx the whole document was kept in memory or if it is possible to have each page dumped to the output file during the production process.
Although there usually is a performance hit, it solves the memory consumption issue