<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error Occurred  when rendering with large amount of data]]></title><description><![CDATA[<p>I have a report which takes a Data array of length 6061 records. while rendering this error occurs. Can you say why this occurs and a solution for this.!<img src="/uploads/files/1575009321594-screenshot-2-resized.png" alt="1_1575009271129_Screenshot (2).png" class="img-responsive img-markdown" /> <img src="/uploads/files/1575009321805-screenshot-1-resized.png" alt="0_1575009271122_Screenshot (1).png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.jsreport.net/topic/1371/error-occurred-when-rendering-with-large-amount-of-data</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 22:19:53 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/1371.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Nov 2019 06:35:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error Occurred  when rendering with large amount of data on Invalid Date]]></title><description><![CDATA[<p>I have a report which takes a Data array of length 6061 records. while rendering this error occurs. Can you say why this occurs and a solution for this.!<img src="/uploads/files/1575009321594-screenshot-2-resized.png" alt="1_1575009271129_Screenshot (2).png" class="img-responsive img-markdown" /> <img src="/uploads/files/1575009321805-screenshot-1-resized.png" alt="0_1575009271122_Screenshot (1).png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.jsreport.net/post/6312</link><guid isPermaLink="true">https://forum.jsreport.net/post/6312</guid><dc:creator><![CDATA[Karthik22296]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error Occurred  when rendering with large amount of data on Invalid Date]]></title><description><![CDATA[<p>Hi Jan,</p>
<p>I am facing similar problem while rendering large data of around 500 pages. Basically I have a single page template and have added {{foreach}} helper in a page and I am passing json array of 500 objects to get document of 500 pages.</p>
<p>I am doing this on DocX recipe with handlebars engine.<br />
My hosting server has 64GB RAM and I have installed dockerized JsReport on it.</p>
<p>Below is the configuration of jsReport.<br />
{<br />
&quot;store&quot;: {<br />
&quot;provider&quot;: &quot;fs&quot;<br />
},<br />
&quot;httpPort&quot;: 5488,<br />
&quot;allowLocalFilesAccess&quot;: true,<br />
&quot;blobStorage&quot;: {<br />
&quot;provider&quot;: &quot;fs&quot;<br />
},<br />
&quot;logger&quot;: {<br />
&quot;console&quot;: {<br />
&quot;transport&quot;: &quot;console&quot;,<br />
&quot;level&quot;: &quot;debug&quot;<br />
},<br />
&quot;file&quot;: {<br />
&quot;transport&quot;: &quot;file&quot;,<br />
&quot;level&quot;: &quot;info&quot;,<br />
&quot;filename&quot;: &quot;logs/reporter.log&quot;<br />
},<br />
&quot;error&quot;: {<br />
&quot;transport&quot;: &quot;file&quot;,<br />
&quot;level&quot;: &quot;error&quot;,<br />
&quot;filename&quot;: &quot;logs/error.log&quot;<br />
}<br />
},<br />
&quot;chrome&quot;: {<br />
&quot;timeout&quot;: 1800000<br />
},<br />
&quot;templatingEngines&quot;: {<br />
&quot;numberOfWorkers&quot;: 50,<br />
&quot;timeout&quot;: 1800000,<br />
&quot;strategy&quot;: &quot;http-server&quot;<br />
},<br />
&quot;extensions&quot;: {<br />
&quot;docx&quot;: {<br />
&quot;timeout&quot;: 1800000<br />
},<br />
&quot;chrome-pdf&quot;: {<br />
&quot;timeout&quot;: 1800000<br />
}<br />
},<br />
&quot;express&quot;: {<br />
&quot;renderTimeout&quot;: 1800000<br />
},<br />
&quot;scripts&quot;: {<br />
&quot;allowedModules&quot;: &quot;*&quot;,<br />
&quot;timeout&quot;: 60000000<br />
},<br />
&quot;office&quot;: {<br />
&quot;preview&quot;: {<br />
&quot;enabled&quot;: false,<br />
&quot;showWarning&quot;: false<br />
}<br />
}<br />
}</p>
<p>Template and data for 500 pages are placed at below playground URL.<br />
<a href="https://playground.jsreport.net/w/meetvishalt/aQGUr9g8" rel="nofollow">https://playground.jsreport.net/w/meetvishalt/aQGUr9g8</a></p>
<p>I am starting JsReport by setting Node.Js memory size around 15 GB by running below command<br />
NODE_OPTIONS=--max-old-space-size=16000</p>
<p>I am getting error in console logs as below:<br />
Error<br />
2019-11-28T15:38:04.984Z - warn: Error when processing render request socket hang up Error: socket hang up<br />
at connResetException (internal/errors.js:561:14)<br />
at Socket.socketOnEnd (_http_client.js:440:23)<br />
at Socket.emit (events.js:214:15)<br />
at endReadableNT (_stream_readable.js:1178:12)<br />
at processTicksAndRejections (internal/process/task_queues.js:80:21)<br />
2019-11-28T15:38:04.996Z - warn: Error when processing render request socket hang up Error: socket hang up<br />
at connResetException (internal/errors.js:561:14)<br />
at Socket.socketOnEnd (_http_client.js:440:23)<br />
at Socket.emit (events.js:214:15)<br />
at endReadableNT (_stream_readable.js:1178:12)<br />
at processTicksAndRejections (internal/process/task_queues.js:80:21)</p>
<p>Kindly help in this.</p>
<p>Thanks,<br />
Vishal</p>
]]></description><link>https://forum.jsreport.net/post/6314</link><guid isPermaLink="true">https://forum.jsreport.net/post/6314</guid><dc:creator><![CDATA[meetvishalt]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error Occurred  when rendering with large amount of data on Invalid Date]]></title><description><![CDATA[<p>Hi, there are some optimizations done in the not yet released docx recipe version which can be installed from the github master branch.<br />
<a href="https://forum.jsreport.net/topic/1340/generate-large-docx-document-more-than-1000-pages/8">https://forum.jsreport.net/topic/1340/generate-large-docx-document-more-than-1000-pages/8</a></p>
<p>Here are some notes on how to extend jsreport official docker image<br />
<a href="https://jsreport.net/learn/customize-docker-image" rel="nofollow">https://jsreport.net/learn/customize-docker-image</a></p>
]]></description><link>https://forum.jsreport.net/post/6321</link><guid isPermaLink="true">https://forum.jsreport.net/post/6321</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error Occurred  when rendering with large amount of data on Invalid Date]]></title><description><![CDATA[<p>Hi Jan,</p>
<p>Thanks for your pointers. I installed jsReport without docker, used docx recipe from git as you mentioned and set the memory size as 8GB while starting the JsReport.</p>
<p>Below is what I tried on local JsReport server:</p>
<ol>
<li>Increase memory size to 8GB and could render 100 and 200 page doc successfully.</li>
<li>I tried 300, and it gave error as “Error: Request body larger than maxBodyLength limit”. This was coming from follow-redirects module and I changed the code to set maxBodyLength as 3GB.</li>
<li>Tried 300 page request and it worked successfully.</li>
<li>Fired 400 page request this time and got below logs in jsReport</li>
</ol>
<p>2019-11-29T13:18:48.668Z - debug: Executing recipe html<br />
2019-11-29T13:18:48.765Z - debug: Skipping storing report.<br />
2019-11-29T13:18:48.777Z - info: Rendering request 2 finished in 18955 ms<br />
2019-11-29T13:21:52.063Z - error: unable to load planned schedules Error: Timeou<br />
t during waiting for file system, try it again later.<br />
at Object.rejectItemsWithTimeout (c:\jsreportapp\node_modules\jsreport-fs-st<br />
ore\lib\queue.js:53:23)<br />
at Timeout._onTimeout (c:\jsreportapp\node_modules\jsreport-fs-store\lib\pro<br />
vider.js:346:73)<br />
at listOnTimeout (internal/timers.js:531:17)<br />
at processTimers (internal/timers.js:475:7)<br />
2019-11-29T13:21:53.706Z - error: Error while trying to flush studio logs: Timeo<br />
ut during waiting for file system, try it again later. - Error: Timeout during w<br />
aiting for file system, try it again later.<br />
at Object.rejectItemsWithTimeout (c:\jsreportapp\node_modules\jsreport-fs-st<br />
ore\lib\queue.js:53:23)<br />
at Timeout._onTimeout (c:\jsreportapp\node_modules\jsreport-fs-store\lib\pro<br />
vider.js:346:73)<br />
at listOnTimeout (internal/timers.js:531:17)<br />
at processTimers (internal/timers.js:475:7)<br />
2019-11-29T13:21:56.056Z - debug: Successfully zipped now.<br />
2019-11-29T13:21:56.566Z - error: Error when processing render request Request f<br />
ailed with status code 413 Error: Request failed with status code 413<br />
at createError (c:\jsreportapp\node_modules\axios\lib\core\createError.js:16<br />
:15)<br />
at settle (c:\jsreportapp\node_modules\axios\lib\core\settle.js:17:12)<br />
at IncomingMessage.handleStreamEnd (c:\jsreportapp\node_modules\axios\lib\ad<br />
apters\http.js:237:11)<br />
at IncomingMessage.emit (events.js:215:7)<br />
at endReadableNT (_stream_readable.js:1183:12)<br />
at processTicksAndRejections (internal/process/task_queues.js:80:21)<br />
2019-11-29T13:21:56.607Z - error: Error during processing request at <a href="http://localhost:5488/api/report/HCFA" rel="nofollow">http://localhost:5488/api/report/HCFA</a></p>
<p>Looking at jsreport logs, it seems that it has generated document internally from green line marked above, but while sending this doc content to playground it fails and give HTTP error 413 which is related to large payload in response.</p>
<p>Appreciate your help in this.</p>
<p>Thanks,<br />
Vishal</p>
]]></description><link>https://forum.jsreport.net/post/6324</link><guid isPermaLink="true">https://forum.jsreport.net/post/6324</guid><dc:creator><![CDATA[meetvishalt]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error Occurred  when rendering with large amount of data on Invalid Date]]></title><description><![CDATA[<p>Our server hosting temporary office documents for preview has some input limits and you are reaching them.<br />
Please use the &quot;Download&quot; button in the studio instead of run.<br />
This won't try to upload the document to the public server and shouldn't fail.<br />
Or check how to disable the preview here<br />
<a href="https://jsreport.net/learn/office-preview" rel="nofollow">https://jsreport.net/learn/office-preview</a></p>
]]></description><link>https://forum.jsreport.net/post/6333</link><guid isPermaLink="true">https://forum.jsreport.net/post/6333</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>