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?
 
Maybe there is a mistake in your code that leads to this exception?
 
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top