Illustrator has a
Illustrator recommends you execute a max of 500 actions before closing and restarting Illustrator. The issue with this is that a single export can easily use 500+ actions to complete. We are looking into ways to solve this issue.
|✓ Correct Answer|
The PARM error is not limited to Illustrator. What Tech has found is that sometimes (for unknown reasons) the CEP DOM will go out of sync and miss-reference elements. Tech found that on some occasions when using code to:
(a) open/close new documents frequently
Each DOM in Photoshop, Illustrator and InDesign are very different in its core nature. Although the framework elements are similar, there are key differences in each which causes Illustrator to crash on PARM.
Photoshop is non-persistent, and naturally will kill-recreate the DOM on load.
InDesign is sub-persistent, and will create-reload the DOM, unless the Extension is reloaded via the menu to kill-recreate the DOM and re-load.
Illustrator is persistent, and will create-reload the DOM only.
CEP Error Capture
Photoshop and InDesign on error, will stop the execution of the current code and send the error object to the responder.
Illustrator on error, will stop the execution of the current code and throw the error in the DOM.
Why does this Matter?
This is why Illustrator crashes, it is a persistent system and it throws a core error. This causes the DOM to ”crash” and without a kill-recreate, its impossible to re-load the DOM without restarting Illustrator.
Share Your Knowledge!
Contribute to the community and help other users to benefit from your answer with experience and knowledge.