You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We tried to use this package to generate pdf from react components but we also faced the same issue which is already reported. #510, charto/nbind#128
So we tried to move the code at the node level and used the same package @react-pdf/renderer in the controller in node API.
Please find below the way we have implemented but in the actual scenario, the code is bulky and the data volume is pretty high.
We are able to generate pdf at the node level successfully but we are experiencing high response time. Node js is taking almost 30 sec to generate pdf and time is increasing if request data gets larger. As per our findings, this is due to high CPU utilization.
Expected behavior
Response time should be less
Desktop (please complete the following information):
OS: Windows
Browser : chrome
React-pdf version: 1.6.11("@react-pdf/renderer")
Has anyone implemented @react-pdf/renderer package at node js and getting high response time due to high CPU utilization?
Thanks & Regards,
Shyam Agarwal
The text was updated successfully, but these errors were encountered:
As @klis87 said memory leak is fixed, and latest version also ships a new yoga version with higher memory limit. Closing this now. Let me know if something like this persist
Describe the bug
Hi Team,
Thanks for this package.
We tried to use this package to generate pdf from react components but we also faced the same issue which is already reported.
#510,
charto/nbind#128
So we tried to move the code at the node level and used the same package @react-pdf/renderer in the controller in node API.
Please find below the way we have implemented but in the actual scenario, the code is bulky and the data volume is pretty high.
We are able to generate pdf at the node level successfully but we are experiencing high response time. Node js is taking almost 30 sec to generate pdf and time is increasing if request data gets larger. As per our findings, this is due to high CPU utilization.
Expected behavior
Response time should be less
Desktop (please complete the following information):
Has anyone implemented @react-pdf/renderer package at node js and getting high response time due to high CPU utilization?
Thanks & Regards,
Shyam Agarwal
The text was updated successfully, but these errors were encountered: