JavaScript的内存限制 [英] JavaScript memory limit

查看:131
本文介绍了JavaScript的内存限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有数据的JavaScript应用可以存储的最大金额是多少?

Is there a maximum amount of data a JavaScript application can store?

我想这是由浏览器处理,每一个都有其局限性?

I guess this is handled by the browser and each one has its limitation?

如果没有一个上限,将一个页面文件创建?如果是这样,那不是不安全?

If there isn't a limit, will a page file be created? If so, wouldn't that be insecure?

推荐答案

据我所知,没有上限,直到系统运行的内存(包括交换),你的脚本基本上可以使用内存。无上限并不意味着你必须吃这一切,用户可能不喜欢它。

AFAIK, there is no upper limit, your script can basically use memory until the system runs out of memory (including swap). No upper limit doesn't mean you have to eat it all, users may not like it.

这篇关于JavaScript的内存限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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