Error handling “Out of Memory Exception” in browser?

后端 未结 3 1291
抹茶落季
抹茶落季 2020-12-09 09:24

I am debugging a javascript/html5 web app that uses a lot of memory. Occasionally I get an error message in the console window saying

\"uncaught exception:         


        
3条回答
  •  一个人的身影
    2020-12-09 09:41

    I also got the same error message recently when working on a project having lots of JS and sending Json, but the solution which I found was to update input type="submit" attribute to input type="button". I know there are limitations of using input type="button"..> and the solution looks weird, but if your application has ajax with JS,Json data, you can give it a try. Thanks.

提交回复
热议问题