stack size

  • Thread starter Thread starter jordi
  • Start date Start date
J

jordi

I have a recursive program and a typical stackoverflow exception, i need
modify the stack size , how can i do it?
 
Hi,

isn't there another, less recursive and memory eating, algorithm for your
problem?
Are you sure that increasing the stack will solve everything and always ?
Maybe not.
Btw, what does it do ? Some recursive algorithms can be made non-recursive,
but not all of course.
As a workaround (and possibly as a solution), try moving some or all of the
local variabels into an object.

Greetings,

Bram.
 
Yes, i used another non-recursive (or mixed) algorithm to solve my problem,
but i only want know if i can modify the stack size.

can i do it? how?
 
Back
Top