A memory management method for use in a memory management apparatus in an open geographic information system, the apparatus including a display component, a query processing component, a data provider component, a layer collection component, a layer component, a disk buffer management component, a memory buffer management component, a spatial index management component and a total memory management component, the method comprising the steps of:
- (a) requesting data access to a layer to be displayed next through the query processing component;
- (b) inspecting whether a layer component for a corresponding layer exists or not;
- (c) requesting spatial data to the layer component when the corresponding layer exists;
- (d) creating a layer component and initializing a memory buffer for the memory management thereof when the corresponding layer does not exist;
- (e) requesting spatial data to the data provider component and demanding memory management of spatial data through the generated layer component;
- and
- (f) displaying the requested spatial data on a screen.