Jump to content

Want to run overnight, but script stops!


Recommended Posts

While my script was running I got something that sort of said,

"Quitting auto-it to prevent stack overflow

Code: Sleep(750)"

And i want to prevent this from happening as i want to run my script overnight.

Help please. I frequently jump between a Pause-like-function during running my script.

Andther related Qyestion, would my virtual memory or RAM have something to do with this? I hog lots of RAM on the app. that i am using during running this script.

Edit: found this:

see the

-------->

===========

FAQ

15. What are the current technical limits of AutoIt v3?

Here are details of the current technical limits of AutoIt. Please note that some of the limits are theoretical and you may run into performance or memory related problems before you reach the actual limit.

Maximum length of a single script line: 4,095

Maximum string length: 2,147,483,647 characters

Number range (floating point): 1.7E308 to 1.7E+308 with 15-digit precision

Number range (integers): 64-bit signed integer

Hexadecimal numbers: 32-bit signed integer (0x80000000 to 0x7FFFFFFF)

Arrays: A maximum of 64 dimensions and/or a total of 16 million elements

-------->Maximum depth of recursive function calls: 384 levels

Edited by bruuil
Link to post
Share on other sites

You're simply using to many (more than 384) levels of recursion in your script.

You need to restructure your script. Post it, if need help with that.

<{POST_SNAPBACK}>

I need clarification as to what 1 level of recursion is. And what 2 levels are.

Is two levels like a loop occuring twice? example in C, for( i=0 ; i<2 ; i++) {}

The "recursion limit" in the FAQ means i can't do infinite loops, right? I mean, that's why i'm getting errors, because we i can't do a real infinite loop. is that right?

Link to post
Share on other sites

the limit concerns recursive functions, not 'normal' loops.

A recursive function deals with values which are calculated a level/step deeper - those need to be evaluated before they can be used.

So,yes, you're right, one level is one loop of where the variable is evaluated.

Edited by sPeziFisH
Link to post
Share on other sites

the limit concerns recursive functions, not 'normal' loops.

A recursive function deals with values which are calculated a level/step deeper - those need to be evaluated before they can be used.

So,yes, you're right, one level is one loop of where the variable is evaluated.

<{POST_SNAPBACK}>

Duh, recursion. like a function of a function of a function. I'm calling too many functions inside of functions! Thanks, emphasizing the recursion reminded me of the definition of recursion! now, only to figure out how to reset the recursion... by giving a return value? yes... i'll ponder a while....
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...