Increasing stack size
I'm using an implementation of a variation on flood fill, and for the recursion depths needed, the default stack size isn't nearly enough. (For some reason, the stack size on Linux is plenty, but not on Windows, even though they're supposed to be the same.)
I've tried using the stack size VM options, and even variations thereof, and random recommendations:
-Xss2M
-ss2M
-oss2M
-Xoss2M
-server
I even tried upping these numbers to 32M, and it still runs out of stack space at the same level.
I tried running the test function from the command line instead of from the IDE I'm using, and still no change.
Any suggestions?

