Stack overflow in Magma

Status
Not open for further replies.

sabkumar.r

Junior Member level 2
Joined
May 17, 2012
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,445
Hi,
I was trying a shortest path algorithm in MAGMA version 1.2.2e.1. I had a stack overflow problem. it reported "too many nested evaluations (infinite loop?)". I found out that the TCL interpreter has a recursion limit which can be set by interp recursionlimit path newlimit.

I do not know the path of the magma tcl interpreter. Or is there a better way to overcome this?

thanks,
sabareesh
 

Hi i just figured it out.
You can change the TCL recursion limit using- interp recursionlimit {} NEWVALUE. you can even set it to a billion. but what matters as u have referred is ur system stack. My workstation had sufficient stack to carry out even a million recursions. whereas my pc could do only 500 at best
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…