1. A method comprising: allocating a first portion of a first memory as a static section to store a main program which uses functional programs stored in a second memory; and allocating a second portion of the first memory as a dynamic section to store other programs, the dynamic section including a plurality of overlay spaces to overlay the functional programs loaded from the second memory to conserve memory capacity of the first memory.