# Memory Size

> [HTML Version](memorysize.htm)

**\-r <memory size>**

The** -r **switch allows you to specify the memory "partition" size (in kilobytes) for this instance of A-Shell, overriding the [MEMORY](memory_sp.md) setting in miame.ini. You can specify one or two values, such as:

\-r 800,500



\-r 600



The first example specifies 800K for the initial partition, and a minimum of 500K for execution of Xcall Ashell and SBX subroutines. The second example specifies 600K for the initial partition, and leaves the default—or previously specified—size for subroutines alone.