I don't think you understand correctly what memory is. Memory is a chipset that resides on the motherboard and does not exist on a hard disk.
There is such a thing as VIRTUAL memory on a hard disk, but this is only "created" when the computer needs extra memory it cannot get from RAM memory (the chipsets I mentioned).
It is not a good thing to rely on virtual memory because, it slows the computer down, and fragments the hard disk faster.
You can increase the Page File. A page file is a hidden file on the hard disk that windows uses to hold parts of programs and data files that do not fit into memory. The paging file and physical RAM comprise Virtual Memory. Windows moves data from the paging file to memory as needed and moves memory to paging file to make room for new data. A paging file is also called a Swap File.
To change the size of the vitual memory paging file:
Open Computer Management Console (Local)
In the console tree, right-click Computer Management (Local) and then select Properties
On the Avanced tab, click Performance Options and under Virtual memory, click Change.
In the Drive list, click the drive that contains the paging file you want to change
Under Paging file size for selected drive, type a new paging file size in megabytes in the Initial Size (M) or Maxium Size (M) box and the click Set.
To open Computer Management Console, click Start, Control Panel, Administrative Tools Icon and finally Computer Management Icon. You must be the Administrator or have Administrator Priveleges in order to change the Page File.
For best performance, set the intial size to not less than the recommended size under total paging file size for all drives. The recommended size is equivalent to 1.5 times the amount of physical RAM on your system.
You should leave your page file set to default unless you are uing programs that require a lot of memory.
Clearing the Page File on shut down will slow the computer down.