User Details
User Details
- User Since
- Apr 13 2020, 6:28 AM (210 w, 3 d)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- Jefryarch [ Global Accounts ]
Apr 13 2020
Apr 13 2020
Jefryarch added a comment to T204633: MediaWiki jobs intermittently fail due to "Maximum call stack size exceeded" from timestampAutoUpdate in QUnit test.
This error is almost always means you have a problem with recursion in JavaScript code, as there isn't any other way in JavaScript to consume lots of stack. Sometimes calling a recursive function over and over again, causes the browser to send you Maximum call stack size exceeded error message as the memory that can be allocated for your use is not unlimited. It's possible to cause infinite recursion in a fully promisified code, too. That can happen if the promises in a chain don't actually perform any asynchronous execution , in which case control never really returns to the event loop, even though the code otherwise appears to be asynchronous. That's when it's useful to wrap your recursive function call into a -