The approach used to address the code and the data that are used in a computer program. The memory model dictates how much memory can be used in a program for code and how much for data. Most computers with a flat address space support only a single memory model. Computers with a segmented address space usually support multiple memory models. See also compact model, flat address space, large model, medium model, segmented address space, small model, tiny model.