nuke.memory2.setUsage

nuke.memory2.setUsage(int) bool

If the value given is less than the current usage, free memory to the new usage. :param amount: number of bytes to reduce current usage to :return: bool True if anything was freed