+5 votes
65 views
Change Computer Memory Swap Size

in Windows11 by (551k points)
reopened | 65 views

1 Answer

+3 votes
Best answer

1 Change PC Memory Swap Size from Advanced Options
2 Change PC memory swap size from CMD

Windows 10 and Windows 11 integrate a function that allows you to use part of the hard drive as if it were RAM memory, this is known as a paging file, a percentage of capacity can be assigned to this file automatically or manually, but we must Keep in mind that this can affect system performance, additionally this virtual memory will only be activated when physical memory when running processes require much more RAM than is available..

 

This paging file will be used by Windows to manage its virtual memory, a space to store information from applications and that could be equated to extra RAM. TechnoWikis will teach you how to change the size of this swap or paging file in Windows by viewing options to Change Computer Memory Swap Size.

 

 

 

To stay up to date, remember to subscribe to our YouTube channel!
SUBSCRIBE ON YOUTUBE

 

 


1 Change PC Memory Swap Size from Advanced Options

 

Step 1

For this method in the search engine we enter "advanced settings" and click on "View advanced system settings":

 

image

 

Step 2

We will see the following. We click on "Settings" in the "Performance" section to see the following:

 

image

 

Step 3

In the "Advanced options" tab we click on "Change" in "Virtual memory"

 

image

 

Step 4

The following will open. We deactivate the box "Automatically manage the paging file for all units",

 

image

 

step 5

We activate the "Custom size" box and then assign the desired values ​​in the respective fields:

 

 

image

 

step 6

We apply the changes and the following window will open:

 

image

 

step 7

We click OK and after closing all the windows we will see this:

 

image

 

step 8

Windows will need to be restarted:

 

image

 


2 Change PC memory swap size from CMD

 

Step 1

This is another of the options to use to change the swap memory, open CMD as administrator:

 

image

 

Step 2

List the current paging size:
 wmic pagefile list /format:list 
image

 

Step 3

We activate the custom size:
 wmic computersystem where name="%computername%" set AutomaticManagedPagefile=false 
image

 

Step 4

Set the new values:
 wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=(SIZE),MaximumSize=(SIZE) 
image

 

step 5

Restart Windows:

 

image

 

step 6

Wait for the system to be rebooted to complete the process:

 

image

 

Note
To activate the automatic method again we must execute the following:
 wmic computersystem where name="%computername%" set AutomaticManagedPagefile=true 
image

 

 

With these simple steps we can change the size of virtual memory on our PCs..

 


by (3.5m points)
edited

Related questions

+4 votes
1 answer
asked Apr 7, 2023 in Linux/Unix by backtothefuture (551k points) | 51 views
+3 votes
1 answer
asked Nov 16, 2019 in Linux / Unix by backtothefuture (551k points) | 630 views
+3 votes
1 answer
asked Feb 13, 2023 in Windows11 by backtothefuture (551k points) | 51 views
+3 votes
1 answer
asked Sep 6, 2023 in Windows11 by backtothefuture (551k points) | 36 views
+3 votes
1 answer
asked Jan 12, 2023 in Windows11 by backtothefuture (551k points) | 64 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users