CPC G06F 9/4411 (2013.01) [G06F 3/0616 (2013.01); G06F 3/0634 (2013.01); G06F 3/0673 (2013.01)] | 13 Claims |
1. An information processing apparatus comprising:
a memory;
a storage unit configured to store a swap file used as a substituted storage area of the memory; and
at least one processor that executes instructions stored in the memory to:
set either of a first boot mode that secures an area storing a temporary file in the storage unit and a second boot mode that secures an area storing the swap file in the storage unit;
delete a part of the swap file stored in the storage unit based on a status of use of the storage unit and maintain a remaining part of the swap file, in a case where the first boot mode is set; and
complement the swap file by adding to the remaining part of the swap file so that a size of the swap file stored in the storage unit becomes a prescribed size, in a case where the second boot mode is set when booting the information processing apparatus after booting the information processing apparatus in the first boot mode.
|