开发者

Stack Overflow error Jquery

开发者 https://www.devze.com 2023-01-26 01:48 出处:网络
HI All, I am using jquery-1.4.1.js file but when iopen application in I.E.8 it is throwing error \"Stack Overflow occur at line 2734 Out of stack space\" but it seems running smoothly on FireFox.

HI All,

I am using jquery-1.4.1.js file but when i open application in I.E.8 it is throwing error "Stack Overflow occur at line 2734 Out of stack space" but it seems running smoothly on FireFox.

Code lines are as below-:

if ( left.substr( left.length - 1 ) !== "\\" ) {
    match[1] = (match[1] || "").replace(/\\/g, "");
    set = Expr.find[ type ]( match, context, isXML );开发者_如何学运维
    if ( set != null ) {
        expr = expr.replace( Expr.match[ type ], "" );
        break;
    }

Here in this code "set = Expr.find[ type ]( match, context, isXML );" is a line no. 2734.

What could be reason. Please Help.


The reason is your stack is running out of memory. Memory is allocated but isn't deallocated - most probably because of an infinite loop.

Can we see the code on and around line 2734?

0

精彩评论

暂无评论...
验证码 换一张
取 消