Patent ID: 8898404

Claim:
A memory management method for managing a memory which secures a first memory area, which is subject to garbage collection, and a second memory area, which is not subject to garbage collection, by using a program executed by a processor in a computer, in a case where the second memory area, which is not subject to garbage collection, comprises starting point data on the reference relation related to the second memory area and other data which are not the starting point data, wherein the starting point data refers to first data in a sequence of data referencing; the method comprising: judging, using the computer, whether there is at least one reference to the other data arranged in the second memory area and whether there is no reference to the starting point data in the second memory area by data arranged outside the second memory area, and judging, using the computer, the second memory area to be capable of being deallocated when it is judged that there is at least one reference to the other data arranged in the second memory area; and there is no reference to the starting point data in the second memory area by the data arranged outside the second memory area.