Skip to main content
Participant
November 20, 2019
Question

Illustrator Crashes When Running Script After Extended Period of Time

  • November 20, 2019
  • 2 replies
  • 591 views

First time posting here,

 

I have an Illustrator script that I wrote in ExtendScript that runs for about 20 minutes before it crashes. It finds two existing images, superimposes them onto each other, modifies them, and saves the new image as a .svg and .eps file. After saving the files, it will close them to start on another image. When there are not a lot of images (less than 400-500 images) to create, the script will complete without any errors; however, the demands are usually around thousands of images.

 

When it crashes, it will do one of the following: close Illustrator without an error message, provide a blank error message, or provide an error 1200 message that says a document doesn't exist. If I close out of Illustrator and run the script again, it will resume from where it crashed, continue creating more images for another 20 minutes, and then crash again. While this works, I need something that can run for an extended period of time. 

 

This is not a RAM issue; my computer has 16 GB of RAM and still has about 8 GBs left of memory while the script is running. Also, I've ran this script on multiple other setups, ranging from 8-32 GB of RAM with the same issue and same results. These computers have i7s and also have video cards ranging from 2.8-3.6 GHz core speeds. They all fail at around 20 minutes of running the script.

 

Any theories or potential solutions to this issue would be much appreciated! 

This topic has been closed for replies.

2 replies

CarlosCanto
Community Expert
Community Expert
November 25, 2019
CarlosCanto
Community Expert
Community Expert
November 22, 2019

It's a know issue, unfortunately Illustrator can handle large ammount of files. You need to find a safe zone and process in batches, restart, continue. 

 

this is from Adobe

Inspiring
November 25, 2019

Thanks Carlos. I was reporting this issue many times at user voice but did not get any update from the Adobe Illustartor team. Could you please share the link where this error is mentioned by Adobe.