Avatar

Level 10

More number of character should not produce Stack Overflow error (it must be Out of Memory error).

Stack overflow error happens when there is any logical issue in the scripting (for e.g indefinite looping)

Just make sure that your code is not entering into an indefinite loop.

Nith