JavaScript memory limit

后端 未结 6 1939
青春惊慌失措
青春惊慌失措 2020-11-28 11:42

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

6条回答
  •  执念已碎
    2020-11-28 12:12

    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.

提交回复
热议问题