A stack overflow error is caused when you run out of stack space. Stack overflow error can mean that you have an infinitely recursive method, since this will cause you to run out of space eventually. The stack is just a block of memory that's made available to your program. I'm pretty sure that block of memory is in RAM but it doesn't matter where it is. If you want to know more about the stack, I'd look up call stack or google stack and look for results pertaining to functions/methods using the stack. Also, you didn't post your code. When you do, make sure its in code tags.
Reputation Points: 874
Solved Threads: 352
Posting Maven
Offline 2,758 posts
since Sep 2008