app.setMemoryUsageLimits(imageCachePercentage,maximumMemoryPercentage)
Description
Sets memory usage limits as in the Memory & Cache preferences area. For both values, if installed RAM is less than a given amount (n gigabytes), the value is a percentage of the installed RAM, and is otherwise a percentage of n. The value of n is: 2 GB for 32-bit Windows, 4 GB for 64-bit Windows, 3.5 GB for Mac OS.
Parameters
imageCachePercentage Floating-point value, the percentage of memory assigned to image cache.
maximumMemoryPercentage Floating-point value, the maximum usable percentage of memory.
Returns
Nothing.