An information processing apparatus that includes a processor capable of executing a plurality of processes, a primary storage device, storing one or more processes, and a secondary storage device, to which processes can be swapped out, from the primary storage device to the secondary storage device, the plurality of processes including one or more of a preferred process of which swap-out is restricted, a normal process of which swap-out is not restricted and a utility process that is executable in cooperation with either a normal process or a preferred process, the information processing apparatus comprising:
- a receiving unit adapted to receive an acquisition request for a memory area in the primary storage device from a requesting process executed by the processor;
- a determining unit adapted to determine whether the requesting process that has made the acquisition request received by said receiving unit is the utility process;
- and
- a control unit adapted to provide control so as to, when said determining unit determines that the requesting process that has made the acquisition request received by said receiving unit is the utility process executable in cooperation with the another process, and the another process cooperating with the utility process executed by the processor is a preferred process of which swap-out is restricted, also restrict swap-out of the utility process,
- wherein the control unit further provides, in a case where a processor utilization of the preferred process of which swap-out is restricted is greater than a predetermined value, control so as to restrict the swap-out of the utility process.