Sitemap
TechTalkers

Posting articles about the most interesting science and tech innovations. Follow to keep up with the constantly changing worlds of science and technology.

Enabling Swap Memory on ChromeOS

2 min readJun 22, 2020

--

Picture Credit: Android Authority

If you own a Chromebook with a low amount of ram, chances are your device can’t handle more than two or three Chrome tabs. Users with 2GB of RAM, and in some cases, 4GB RAM, also face this issue. Most Chromebooks don’t offer the option of upgrading RAM either, so the only way to work-around this problem is to use Swap memory.

Swap Memory

Swap memory, or more commonly referred to as virtual memory, is a technology that allows the user to use parts of their storage space as RAM.
When the OS thinks that physical RAM is not enough, it will turn to virtual memory. For this to work, you need to allocate a certain amount of space.

Step 1: Open Crosh

Crosh is the terminal for ChromeOS, and to open it, hold Ctrl+Alt+T. It should open in a Chrome window.

Press enter or click to view image in full size

Step 2: Allocating Memory

Now that you’re in Crosh, you’re going to allocate memory for swap. Here, you can decide how much memory to allocate. Personally, I believe that 2 GB should be sufficient.
To allocate memory, type in swap enable 2000, and press enter. This will allocate 2 GB of swap memory.

Press enter or click to view image in full size

Step 3: Restart your device

For these changes to take into effect, you will need to restart your Chromebook.

Press enter or click to view image in full size

Now, if at any point in time, you would like to disable swap, just open up Crosh and type in swap disable, and restart your Chromebook.

There you have it. Now, you can open up 10–15 tabs and not have a single one of them reload. This is a great work-around for users with lower end devices with a low amount of RAM.

--

--

TechTalkers
TechTalkers

Published in TechTalkers

Posting articles about the most interesting science and tech innovations. Follow to keep up with the constantly changing worlds of science and technology.

Nithil Krishnaraj
Nithil Krishnaraj

Written by Nithil Krishnaraj

Co-founder and Writer of TechTalkers. Learning about technology and photography are my passions!

Responses (4)