I am using a Direct Web Remoting (DWR) JavaScript library file and am getting an error only in Safari (desktop and iPad)
It says
Maximum call stack size exceeded.
What exactly does this error mean and does it stop processing completely?
Also any fix for Safari
browser (Actually on the iPad Safari
, it says
JS:execution exceeded timeout
which I am assuming is the same call stack issue)
I was facing same issue I have resolved it by removing a field name which was used twice on ajax e.g
You can sometimes get this if you accidentally import/embed the same JS file twice, worth checking in your resources tab of the inspector :)
In my case, I was sending input elements instead of their values:
Instead of:
This froze my Chrome tab to a point it did even show me the 'Wait/Kill' dialog for when the page becomes unresponsive...
In my case, I was converting a large byte array into a string using the following:
bytes
contained several million entries, which is too big to fit on the stack.in my case I m getting this error on ajax call and the data I tried to pass that variable haven't defined, that is showing me this error but not describing that variable not defined. I added defined that variable n got value.
I had this error because I had two JS Functions with the same name