1. An information processing device, comprising: a memory employed as a program work area; and a control unit; wherein the control unit switches between a first mode and a second mode, during the first mode, detects a resident program resident in the memory, and saves information identifying the resident program, as resident program information, during the second mode, determines whether a requestor program, requesting allocation of the work area, is the resident program or not by comparing requestor-program identifying information with the resident program information, and in succession allocates in the memory respective work areas for one or more requestor programs determined to be resident programs, starts the allocation of work areas for the resident programs with one of either a highest-level address and a lowest-level address of the memory as a starting point, and starts the allocation of work areas for other than resident programs with, as a starting point, an opposite side of the memory from said starting point being one of either the highest-level address and the lowest-level address.