 : this article is about a class of dos device drivers. for the general concept, see: memory management. thumb|physical memory areas of the ibm pc family. in ibm pc compatible computing, dos memory management refers to software and techniques employed to give applications access to more than 640 kilobytes (1024 bytes) (kb) of "conventional memory". the 640 kb limit was specific to the ibm pc and close compatibles; other machines running ms-dos had different limits, for example the apricot pc could have up to 768 kb and the sirius victor 9000, 896kb. memory management on the ibm family was made complex by the need to maintain backward compatibility to the original pc designscott mueller, 'upgrading and repairing pcs 4th edition, que, 1994, isbn 1-56529-932-9 chapter 7 and real-mode dos, while allowing computer users to take advantage of large amounts of low-cost memory and new generations of processors. since dos has given way to microsoft windows and other 32-bit operating systems not restricted by the original arbitrary 640 kb limit of the ibm pc, managing the memory of a personal computer no longer requires the user to manually manipulate internal settings and parameters of the system. the 640 kb limit imposed great complexity on hardware and software intended to circumvent it; the physical memory in a machine could be organised as a combination of base or conventional memory, upper memory, high memory (not the same as upper memory), extended memory, and expanded memory, all handled in different ways. == conventional memory ==  the intel 8088 processor used in the original ibm pc had 20 address lines and so could directly address 1 mb (220 bytes) of memory. different areas of this address space were allocated to different kinds of memory used for different purposes. starting at the lowest end of the address space, the pc had read/write random access memory (ram) installed, which was used by dos and application programs. the first part of this memory was installed on the motherboard of the system (in very early machines, 64 kb, later revised to 256 kb). additional memory could be added with cards plugged into the expansion slots; each card contained straps or switches to control what part of the address space access memory and devices on that card. on the ibm pc, all the address space up to 640 kb was available for ram. this part of the address space is called "conventional memory" since it is accessible to all versions of dos automatically on start up. normally expansion memory is set to be contiguous in the address space with the memory on the motherboard. if there was an unallocated gap between motherboard memory and the expansion memory, the memory would not be automatically detected as usable by dos. == upper memory area == {{main|upper memory area
DOS_memory_management Memory_management