[CR #555171] The default maximum size of the JavaScript engine runtime is 5000000 bytes, or 4.76MB. If you are debugging a script that is larger than the default size, you may run into memory issues.
Workaround: Configure the maximum memory size for the JavaScript engine in the Default.ini file. To configure:
Navigate to the etc directory of the installation folder and use a text editor to open the Default.ini file.
In the [Scripting] section, add:
Runtime Memory = <a new number for memory in bytes>