WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to expan swap  (Read 2497 times)

Offline GAI

  • Newbie
  • *
  • Posts: 30
how to expan swap
« on: March 31, 2021, 04:52:45 AM »
My program can't run on this system. I suspect that the swap partition is too small. How can I expand it

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: how to expan swap
« Reply #1 on: March 31, 2021, 05:26:05 AM »
You can add one or more new swap partition or file. It is not TC specific, use Google to find how.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline GAI

  • Newbie
  • *
  • Posts: 30
Re: how to expan swap
« Reply #2 on: March 31, 2021, 05:33:38 AM »
ok  thanks  for your  help

Offline GAI

  • Newbie
  • *
  • Posts: 30
Re: how to expan swap
« Reply #3 on: March 31, 2021, 05:51:47 AM »
You can add one or more new swap partition or file. It is not TC specific, use Google to find how.

tce-load -i gdb.tcz
is ok

gdb -v 

gdb error while load library  libreadline.so.8

what should i  install   ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: how to expan swap
« Reply #4 on: March 31, 2021, 06:15:07 AM »
Code: [Select]
$ provides.sh libreadline.so.8

Offline GAI

  • Newbie
  • *
  • Posts: 30
Re: how to expan swap
« Reply #5 on: March 31, 2021, 09:36:20 PM »
Do you have an offline installation package?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: how to expan swap
« Reply #6 on: April 01, 2021, 12:45:53 AM »
You seem to be getting off topic - setting up a swap file or partition does not require any extensions.

If you download an extension like gdb manually, you need to download gdb.tcz.dep and gdb.tcz.md5.txt as well. The *dep file will contain details of any other extensions that gdb requires in order to work.

Offline windundgeist

  • Jr. Member
  • **
  • Posts: 55
Re: how to expan swap
« Reply #7 on: May 23, 2021, 07:15:23 PM »
@bmarkus

Hallo

I also tried to enlarge the existing swapfile, without success. There is a special function for this. In the first field I entered /dev/sda4 (I also tried it with just sda4), in the second field the desired size. But TC does not take over the value. So can't the default swapfile be enlarged? But then what is the tool for? And the tool only shows me the command to enlarge. But you don't have to first deactivate the swapfile, then enlarge it and then activate it again? Who does chmod, mkswap and swapon? And who makes the entry in fstab? The tool? Or ist this all done bevore?

And an additional question: TC works with zram by default. Can it also work with zswap, or with zcache?

What is your recommendation?