+5 votes
59 views
Change Computer Memory Swap Size

in Windows11 by (549k points)
reopened | 59 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.4m points)
edited

Related questions

+4 votes
1 answer
asked Apr 7, 2023 in Linux/Unix by backtothefuture (549k points) | 42 views
+3 votes
1 answer
asked Nov 16, 2019 in Linux / Unix by backtothefuture (549k points) | 620 views
+3 votes
1 answer
asked Feb 13, 2023 in Windows11 by backtothefuture (549k points) | 42 views
+3 votes
1 answer
asked Sep 6, 2023 in Windows11 by backtothefuture (549k points) | 30 views
+3 votes
1 answer
asked Jan 12, 2023 in Windows11 by backtothefuture (549k points) | 54 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,611 questions
10,740 answers
510 comments
3 users