Adobe UXP Plugin Error

Having Issues while processing too many images to base64 using executeAsModal and batchPlay methods from photoshop api extensively.

Use case: -

  • Need to export all PSD layers including image layers to a particular format.

For that we need to convert all image layers to base64 first. We relied on batchPlay and executeAsModal lots of times depends on the no.of layers the PSD have. To get the detailed properties from PSD layers.

So once we process PSD which have large no.of images and layers, we are getting some errors from PS side

Any idea how we can overcome this limitations of using these extensively, or any other know limitations for the same. If anyone encountered similar problem please help