purge()

app.purge(target)

Description

Purges unused data of the specified types from memory. Replicates the Purge options in the Edit menu.

Parameters

target The type of elements to purge from memory; a PurgeTa r get enumerated value, one of:
• PurgeTarget.ALL_CACHES: Purges all data that After Effects has cached to physical memory.
• PurgeTarget.UNDO_CACHES : Purges all data saved in the undo cache.
• PurgeTarget.SNAPSHOT_CACHES: Purges all data cached as composition/layer snapshots.
• PurgeTarget.IMAGE_CACHES : Purges all saved image data.

Returns

Nothing.

Other Tags

Posted in Application object and tagged , , , , , , , , , , , , , .