Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Potential Stackoverflow on Azure Web Apps

0
0
Hi James,

Interesting. Are you saying that the JavaScript expression above is somehow responsible for the issues you're seeing?

In any case, try..catch might be a low-cost way to diagnose the problem. It won't catch true stack overflows, but it should be able to find cases of empty strings (or similar objects) being thrown, and it shouldn't affect your application's performance.

Consider also that true stack overflows aren't uncommon. ClearScript can build up large stacks, especially with nested script execution, and the default stack allocation is typically only 1 MB.

Cheers!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images