Skip navigation
Currently Being Moderated

Digital Dusting

Oct 10, 2011 10:08 AM

I find that some of my scripts work well when used once in a while.

But when using the script back to back a handful of times, I find indd/the script crashes more frequently.

 

Should I be destroying my variables at the end of every script?

 

Does anyone make this a common practice?

 

Any specific functions you find effective?

 

 

 

Could there be a totally unrelated reason this is happening?

 

 

 

Thanks for your input!!

 
Replies
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Oct 10, 2011 6:49 PM   in reply to pkrk

    I find that some of my scripts work well when used once in a while.

    But when using the script back to back a handful of times, I find indd/the script crashes more frequently.

    Version? Can you define "crash"? Do you get a crash report?

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Oct 13, 2011 10:03 AM   in reply to pkrk

    Could you upload a copy of the crash report to http://pastebin.com/ and post a link to it? I'd like to see it.

    Though:

    I just get the spinner...

    Generally this is termed a "hang," not a "crash." A crash is when the program terminates itself (or is terminated by the OS).

     

     

    I eventually forc quit it.. which eventually brings on the crash report.

    This is abnormal behavior. Normally force qutting does not lead to a crash report. I wonder what is different in your case. That is somewhat interesting.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points