# MEMORY > [HTML Version](memory_lit.htm) **MEMORY \{k\}\{m\}** MEMORY resizes your current _user memory_ allocation or partition. User memory is a block of memory reserved for the private use of an individual process (aka job), and functions as a sort of hybrid between cache memory and heap memory. As with cache, programs and other modules are typically loaded and unloaded automatically without any need to pay much attention to it. But you can also perform the cache operations manually via the [LOAD](load_lit.htm.md), [MAP](map_lit.htm.md), and [DEL](del_lit.htm.md) commands. Note that loaded modules do not actually take up space in the _user memory_ allocation; they are allocated separately and dynamically. So it is mainly used as a heap to manage variables and stack space while running programs. See [DIR /MEMREQ](dirswitches.htm.md) for a way of estimating the memory requirements of a program. Typically the user memory size is set via the [MEMORY](memory_sp.htm.md) parameter in miame.ini, while the MEMORY system command discussed here is used mainly for experimentation and unusual situations. **Example** **.MAP** PCTDVG.IFX 652 P Free 4290755 **.MEMORY 10M** Changing main partition size to 10240K bytes **.MAP** PCTDVG.IFX 652 P Free 9656515