Hello,
Thanks for your feedback.
We have checked a 21 MB html file, it is able to be converted to pdf without the OutofMemory exception, so please make sure that you have sufficient amount of memory reserved for the process.
Sincerely,
Gary
E-iceblue support team