Do ArrayBuffers have a maximum length?

cavila picture cavila · Jul 24, 2013 · Viewed 7.7k times · Source

I little confused here. Do ArrayBuffer allocate a new memory region for it? If so, what would be the safe maximum Blob size to put on it?

Answer

Sebastien C. picture Sebastien C. · Sep 9, 2014

That only depends on your system and there doesn't seems to be a limit.

According to the specification :

If the requested number of bytes could not be allocated an exception is raised.