Patent ID: 8780384

Claim:
An image processing apparatus comprising: a storage unit adapted to store image data; a confirmation unit adapted to confirm a remaining capacity of said storage unit; a determination unit adapted to determine, based on a result of confirmation by said confirmation unit, whether execution of a first job using said storage unit can be continued; a selection unit adapted to, when it is determined by said determination unit that execution of the first job cannot be continued: (a) if image data for a second job which is different from the first job and waits to be executed exists among the image data stored in the storage unit, select the image data for the second job from among the image data stored in said storage unit, (b) if (i) the image data for the second job does not exist among the image data stored in the storage unit, (ii) image data for a third job which is different from the first job and is being executed in parallel with the first job exists among the image data stored in the storage unit, and (iii) a priority of the third job is lower than a priority of the first job, select the image data for the third job from among the image data stored in said storage unit, and, (c) if the image data for the third job does not exist among the image data stored in the storage unit, select a part of the image data for the first job stored in the storage unit; and a save unit adapted to save the image data selected by said selection unit from said storage unit onto another storage unit.