超出最大呼叫堆栈大小 [英] Maximum call stack size exceeded

查看:222
本文介绍了超出最大呼叫堆栈大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人
在我的JavaScript编码中,加载时出现此错误超出最大调用堆栈大小" ...

会是什么问题.

请提供任何解决方案........

Dear all
In my javascript coding i got this error"Maximum call stack size exceeded" when loading...

What will be the problem.

Please give any solution........

推荐答案

这意味着在代码中的某个位置,您将项目压入堆栈而不将其弹出(可能因为代码还没有完成),耗尽了堆栈限制.
这通常是导致递归函数无法满足条件的原因.
It means that somewhere in your code, you are pushing items onto the stack without popping them off (probably because the code isn''t finished with them), exhausting the stack limit.
This is generally the cause of recursive function with a condition that isn''t being met.


这篇关于超出最大呼叫堆栈大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆