How can i change the Page file directory

Dragonraihan

Honorable
Sep 17, 2013
30
0
10,530
Can any one tell me how can i change Page file directory to a Ram Disk ?
I'm using Dataram Ram disk I don't know how to use but i read the manual and created a ram partition now i can't seems to go any further Help me to understand it
 

elmo2006

Distinguished
Jul 27, 2009
406
1
18,960


You will need to modify the registry (changes are made at your own risk):
To change the location of the pagefile, edit the following registry key:
Key Name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\
Value Name: PagingFiles
Type: REG_MULT_SZ
Data: C:\pagefile.sys 150 500
In the Data field, change the path and file name of the pagefile, along with the minimum and maximum file size values (in megabytes).