Hello,
As you may check on this post:
http://www.phpdocx.com/blog-news/phpdocx-35-general-performance-benchmark
PHPDocX is very fast and the peak memory use is very low. Please open your php.ini and post the value of the memory_limit option.
Regards.