WebGL memory size in Player Settings?

What does the ‘WebGL Memory Size’ player setting actually do?

I get this error no matter what I set it to:

“Cannot enlarge memory arrays. Either
(1) compile with -s TOTAL_MEMORY=X
with X higher than the current value
16777216, (2) compile with
ALLOW_MEMORY_GROWTH which adjusts the
size at runtime but prevents some
optimizations, or (3) set
Module.TOTAL_MEMORY before the program
runs.”

But, if I open the generated .js file and increase TOTAL_MEMORY manually, it loads without error.
I also noticed that you can just set TOTAL_MEMORY in Module object of the generated html page.

What version are you using? Where are you getting the error?

Changing the memory in the HTML file is supported by us to allow you iterate faster over needed memory sizes for your content.

Use the search, Luke!

http://forum.unity3d.com/threads/suggestion-add-allow_memory_growth-flag-to-editor-player-settings.344240/#post-2243488