

Page file: the maximum is 64GB, approximately the computer memory. You can find the shared drives that use the most storage with the storage management tool. Programs installed on C drive need 30GB-50GB. You can disable it at any point using sudo swapoff /swapfile command and remove at will in addition, since here we don't add it to the /etc/fstab file, it won't be added at next boot, so on the next boot you can remove itįYI, all this I've turned into a script so that there's an actual single command you can execute to add swap. Comprised files and required space on system drive: 1. Windows XP users should click the Advanced tab. Click 'Partition.

You can do this very easily by going to Start -> Run, typing sysdm.cpl and then pressing Enter. Video of the Day Step 2 Click 'Utilities,' then 'Disk Utility.' Step 3 Click your hard drive in the devices on the left. In Windows 7, press Windows + R, input diskmgmt.msc and press Enter to open Disk Management. The first step to increasing your virtual memory is locating your system settings area. Follow up the Extend Volume Wizard via several clicks. Right click drive C and select Extend Volume, click Next in the pop-up window. Right click drive D and select Delete Volume.
#ALLOT MORE DISK SPACE TO MEMORY FREE#
Right-click D drive and select 'Allocate Free Space'. As we can see from the graphic view, there is enough unused space on D drive, so we’d like to allocate free space from D drive to C drive. The fresh interface displays conditions of the physical disk.
#ALLOT MORE DISK SPACE TO MEMORY PROFESSIONAL#
Next, make it read-writable by root only sudo chmod 600 /swapfileĪnd format it to swap sudo mkswap /swapfileįinally, enable the file sudo swapon /swapfile First, you have to increase the size of a disc partition or logical volume, then you increase the size of the file system on it. Press Windows + X on your keyboard and select Disk Management. Launch AOMEI Partition Assistant Professional (PA Pro). To make it 2 GB, change count value to 2048 The command will create a file named swapfile inside your root folder, its content being all zeroes and size of 1024 megabytes (1 GB). Personally, I have an SSD and use 1 GB swap file for protection instead of having a partition, since it's a compromise between using the limited disk space, but having extra memory if I ever run out of RAMįirst create the file itself sudo dd if=/dev/zero of=/swapfile bs=1M count=1024 You can indeed use swapfile as temporary addition to your system memory.
