[Guide] Adding memory to your 1GB SBC

This forum is for discussion about general software issues.

[Guide] Adding memory to your 1GB SBC

Postby jyno » Mon Feb 28, 2022 3:02 pm

I suggest to add the following instructions to the documentation.

These instructions will guide you on extending your memory by creating a temporary 4 GB swap partition.

Taken from Slackware ARM
Title: Slackware ARM on the Raspberry Pi 3
Link: https://docs.slackware.com/howtos:hardw ... spberrypi3

$this->bbcode_second_pass_quote('', '
')5.3. Memory
Unfortunately, the Raspberry Pi 3 has only 1 GB of memory. It means that you will eventually not be able to run some applications requiring more memory. However, you can extend your memory by creating a temporary 4 GB swap partition:

$this->bbcode_second_pass_code('', '
$ dd if=/dev/zero of=/tmp/swap bs=1M count=4000
$ mkswap /tmp/swap
$ sudo swapon /tmp/swap
')You can check the current memory by typing:

$this->bbcode_second_pass_code('', '
$ free
')

Now, the memory is correctly set.


That's a very clever solution for 1GB SBCs!
jyno
 
Posts: 67
Joined: Wed May 05, 2021 4:37 pm

Re: [Guide] Adding memory to your 1GB SBC

Postby moonman » Wed Mar 09, 2022 4:38 am

ArchLinux has a very good resource: ArchWiki

https://wiki.archlinux.org/title/Swap

Also you quote from slack wiki states that you are creating a swap partition, while in reality you are creating a swap file. Check out archwiki for differences.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests