HTMLToPDF resulting in session getting stuck with 100% CPU when HTML has Tables
Hi,
The same code is working without any issue in Pega Platform 8.4.3 but is not working in 8.4.4. What I have noticed is Pega 8.4.3 is using PD4ML v.4.0.6.-20190924 where as Pega 8.4.4 environment uses PD4ML v.4.0.9fx3. The generating and attaching of the PDF is called direcly from a Workflow at the start of creating of a Child Case so when issue happens the sessions simply gets stuck and we do not get any response from the Browser. This happens only when source HTML has one or more Table structures. If there are no Table structures in HTML the PDF seems to get generated without any issue.
This stuck session continues to run taking all the CPU cycles of one vCPU and we have no option but to restart the Node after running this 4 times since we have only 4 vCPU associated with the Node.
During one of the debugging sessions we noticed that NOT having UseCompactStylesforPDF set to True seem to avoid session getting stuck but when we click on the generated and attached PDF we see it has not generated properly and got attached (more like 0 byte file).
I would like to understand if anyone else has seen this issue and found a solution.
Thanks and regards,
Dhammike