Hello,
my RAM-Only Mini-PC has 4GB of Ram, when I use porteus in copy2ram mode, the virtual disk only seems to have 2,2 GB available - so how can this be increased because there seems more ram been unused ?
kind regards
Increase Ram Disk
Increase Ram Disk
Last edited by lukaluki on 29 May 2013, 21:40, edited 1 time in total.
Re: Increase Ram Disk
Does it will cause probelms if I set the Disk Size to 3,5GB when the PC has 4GB available ?
Re: Increase Ram Disk
There shouldn't any problems but please be careful as your system may needs some MB for "shared memory".
NjVFQzY2Rg==
-
- Samurai
- Posts: 130
- Joined: 10 Mar 2011, 10:50
- Distribution: Windows phone
- Location: Saudi Arabia
Re: Increase Ram Disk
there is alternative solution for RAM , you can make new Swap device or new Swap file.
if you make swap file, then you can mount it and delete it.
Code: Select all
#mkswap /mnt/sdb1 1 GB
or
#mkswap /mnt/sda1/temp.swp 3 GB
- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Re: Increase Ram Disk
You can also experiment with the "zram" cheatcode, it creates a virtual block device inside your RAM that acts as swap, with the data being compressed.
You mentioned this is a RAM-only machine, does it have a USB port or card reader? You could add a usb flash drive or SD card for storage and reduce the amount of RAM you allocate for changes, or you could even create a swap partition on your flash media and activate it for additional RAM. This is slower (usually much slower than having swap on a hard drive) and it's not good for the flash media because it gets written and erased a lot, but it does work in a pinch for the right situations. I do this when I'm compiling stuff for ARM - my tablet only has 1GB of RAM and several programs require up to 3 GB in order to compile, so I stick in a USB flash drive with a swap partition on it
You mentioned this is a RAM-only machine, does it have a USB port or card reader? You could add a usb flash drive or SD card for storage and reduce the amount of RAM you allocate for changes, or you could even create a swap partition on your flash media and activate it for additional RAM. This is slower (usually much slower than having swap on a hard drive) and it's not good for the flash media because it gets written and erased a lot, but it does work in a pinch for the right situations. I do this when I'm compiling stuff for ARM - my tablet only has 1GB of RAM and several programs require up to 3 GB in order to compile, so I stick in a USB flash drive with a swap partition on it

Please take a look at our online documentation, here. Suggestions are welcome!