1. A computing system, comprising: a first memory configured to allocate an area storing a first data structure corresponding to a plurality of tasks processed in a processor, wherein the first memory is an internal memory of the processor and the processor is internal to the computing system; a second memory configured to allocate an area storing a second data structure corresponding to the plurality of tasks, wherein data corresponding to the each task is stored in the second data structure instead of the first data structure in response to filling of the first data structure in excess of an average size thereof, and wherein the second memory is an external memory of the processor; and a memory controller configured to analyze an amount of a memory consumed and a temporal distribution of the amount of the memory consumed while processing the plurality of tasks in the processor and to determine, based on the analyzed amount of the memory consumption, a size of the area storing the first data structure and a size of the area storing the second data structure, wherein the memory controller is configured to: determine, as a size of the first data structure, a first threshold value that is equal to or greater than an amount of the memory consumption that is greater than or equal to an average memory consumption amount, and determine, as a size of the second data structure, a difference between a maximum value in the analyzed temporal distribution of the amount of the memory consumption and the first threshold value.