I am using a recursive function in my standalone java application which causes the stack over flow. So, I have increased the stack size to 2048k.
Is that fine to increase the stack size? If not can any one suggest me how to over the issue.
Thanks in advance,