pdffillerjs / pdffiller

Take an existing PDF Form and data and PDF Filler will create a new PDF with all given fields populated.
MIT License
286 stars 113 forks source link

Increased stdout buffer size to 5MB #64

Open nikhil271995 opened 6 years ago

nikhil271995 commented 6 years ago

generateFDFTemplate throws maxBuffer size exceeded which results in kill of child process. This happens when generateFDFTemplate is used for pdf of size as large as 2MB. This is due to maxBuffer size of stdout of child process is Node which is 200KB.

In this Commit , the maxBuffer size has been increased to 5MB.