为什么我使用AngularJS耗尽内存?

时间:2015-03-17 13:45:10

标签: angularjs

当我使用$http插入数据库时​​,我在Firefox中遇到错误:

  

内存不足

  

错误:[$ rootScope:infdig] 10 $ digest()迭代达成。中止!

但是,在Chrome中,我只会看到来自错误处理代码的消息:

 .error(function(data, status, headers, config, statusText) {
          console.log("Status:" + status );  
          alert("algo anda mal");
    });

我查看了PHP中的所有服务,他们没问题。使用$http有一些限制吗?我同时使用了大约25个请求。为什么我会收到此错误?

0 个答案:

没有答案