size limit to savestate?

Monkey Forums/Monkey Programming/size limit to savestate?

slenkar(Posted 2011) [#1]
Hi I am saving a large string in mingw mode , is there a size limit on the string?

OR

is there a limit in monkey as to how big a string can be?


GfK(Posted 2011) [#2]
Not sure how much this is worth, but I tested this in Chrome/HTML5 and SaveState worked fine with 1,000,000 bytes, but failed on 1,000,001. The same experiment in the iPhone simulator killed my app with no error, so I assume the maximum size for SaveState to be much less on there.

Suffice to say, yes, there does appear to be a limit, but its a limit on SaveState I think - not on maximum string length. Exactly what that limit is on all platforms, I don't know.


slenkar(Posted 2011) [#3]
thanks