Patent ID: 8429366

Claim:
A memory control device comprising: an allocation section allocating a plurality of memory regions of a memory module; an available space storage section storing data in available space of a first memory region that is one of the plurality of memory regions and, when no more space becomes available in the first memory region, store data in available space of a second memory region; and a copying section copying a plurality of items of to-be-copied data that is stored in the first memory region but not in the second memory region to the second memory region after no more space becomes available in the first memory region in such a manner that a copying operation is divided into a plurality of times, wherein when a number of items of data stored in the second memory region exceeds a threshold value that is determined to be 1 or larger and at least one of the items of the to-be-copied data in the first memory region is not yet stored in the second memory region, the copying section copies the to-be-copied data stored in the first memory region to the second memory region each time updated data is stored in the second memory region, and the threshold value is used to determine whether to perform the copying operation each time the updated data is stored in the second memory region.