# Generic JavaScript View error due to high number of rows?

**URL:** <https://forum.knime.com/t/generic-javascript-view-error-due-to-high-number-of-rows/47692>\
**Category:** KNIME Analytics Platform\
**Tags:** javascript-view\
**Created:** [September 29, 2022, 12:30pm UTC](https://forum.knime.com/t/generic-javascript-view-error-due-to-high-number-of-rows/47692 "2022-09-29T12:30:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![misterhd](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/97f17d/32.png) [@misterhd](https://forum.knime.com/u/misterhd)\
**Post date:** [September 29, 2022, 12:30pm UTC](https://forum.knime.com/t/generic-javascript-view-error-due-to-high-number-of-rows/47692/1 "2022-09-29T12:30:28Z")

</div>

Hi KNIMErs,

I am facing the following error when trying to process several JS views in a single component:

![image](https://forum-cdn.knime.com/uploads/default/original/3X/5/f/5f617258afce974772bc4f42e83f3dca836ef5e9.png)

In this specific example, I have 3 JS view of around 40k rows each. The views work correctly individually. However, when I open the view the whole component with the 3 views combined, I always get an error.

Not sure how to proceed? Is there a known limitation regarding the number of rows allowed to be processed in the JS node?

And yes, the value in the node configuration is already set to more than 40k.

![image](https://forum-cdn.knime.com/uploads/default/original/3X/9/1/915e09ec1c4a7fec8309b74d8b97ed701f3293b5.png)

Thank you.

---

<div class="post-metadata">

**Author:** ![Kyle\_Watkins](https://forum-cdn.knime.com/user_avatar/forum.knime.com/kyle_watkins/32/42960_2.png) [@Kyle\_Watkins](https://forum.knime.com/u/Kyle_Watkins)\
**Post date:** [October 5, 2022, 9:56pm UTC](https://forum.knime.com/t/generic-javascript-view-error-due-to-high-number-of-rows/47692/2 "2022-10-05T21:56:20Z")

</div>

Hi misterhd,

Does this problem occur when you have only 2 of the JS views combined in a component?

I’ll look into any known limitations regarding a max number of rows being processed in components / JS nodes.

Thanks,  
Kyle

---

<div class="post-metadata">

**Author:** ![misterhd](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/97f17d/32.png) [@misterhd](https://forum.knime.com/u/misterhd)\
**Post date:** [October 6, 2022, 6:42am UTC](https://forum.knime.com/t/generic-javascript-view-error-due-to-high-number-of-rows/47692/3 "2022-10-06T06:42:16Z")

</div>

Hi Kyle\_Watkins,

Exactly. The views work correctly individually.  
However when I combine 2~3 in a component I get such error.

Thanks.

---

<div class="post-metadata">

**Author:** ![Kyle\_Watkins](https://forum-cdn.knime.com/user_avatar/forum.knime.com/kyle_watkins/32/42960_2.png) [@Kyle\_Watkins](https://forum.knime.com/u/Kyle_Watkins)\
**Post date:** [November 3, 2022, 5:43pm UTC](https://forum.knime.com/t/generic-javascript-view-error-due-to-high-number-of-rows/47692/4 "2022-11-03T17:43:37Z")

</div>

We might be able to debug this better if you [enabled the debugging interface](https://forum.knime.com/t/open-inspector-in-component-view-using-the-new-cef-browser/39386) in the javascript view by adding these lines at the end of your knime.ini file:  
-Dchromium.debug=true  
-Dchromium.remote\_debugging\_port=8888  
This file lives in the same directory as your knime.exe installation on windows.

It seems like this issue is happening due to a timeout (which makes sense due to the high volume of data). In that same knime.ini file you could try changing the following argument to -1 to remove a default timeout. -Dsun.net.client.defaultReadTimeout=

---

<div class="post-metadata">

**Author:** ![misterhd](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/97f17d/32.png) [@misterhd](https://forum.knime.com/u/misterhd)\
**Post date:** [November 4, 2022, 12:51pm UTC](https://forum.knime.com/t/generic-javascript-view-error-due-to-high-number-of-rows/47692/5 "2022-11-04T12:51:07Z")

</div>

Hi [Kyle\_Watkins](https://forum.knime.com/t/generic-javascript-view-error-due-to-high-number-of-rows/47692/4),

Thanks for the feedback. I have been able to apply the changes to the .ini file but I am still facing the issue. This is the error that appears in debugging mode:

> require.js:5 Uncaught Error: Load timeout for modules: js-lib/plotly/1.47.4/plotly.min.js  
> [Common Errors](http://requirejs.org/docs/errors.html#timeout)  
> at makeError (require.js:5)  
> at l (require.js:5)  
> at require.js:5

It does seem to be the case the timeout is due to the plotly dependency, which is the one I am using in my node.

![image](https://forum-cdn.knime.com/uploads/default/original/3X/1/e/1e4ef69b0e517b3aeee01f1b8bd5f798561ae81e.png)

However, I don’t really know how to change this timeout. Any sugestion?

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [February 2, 2023, 12:52pm UTC](https://forum.knime.com/t/generic-javascript-view-error-due-to-high-number-of-rows/47692/6 "2023-02-02T12:52:02Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
