Questions tagged [swapfile]

85 questions
0
votes
3 answers

Removing all swap files?

Many programs have created a huge amount of swap files. They annoy me, because some of them contain sensitive information. How should I deal with them? Is this command a good idea: find . -iname "*swp*" -exec rm '{}' \; How should good programs…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
0
votes
1 answer

Custom Node Configuration in AKS using Terraform

I wanted to create noodpool with swap memory enabled in AKS, I have gone through Terraform documentation there I can see swap_file_size_mb and vm_swappiness are the only thing related to swap. My question is is there any way to use this flag…
0
votes
1 answer

Error writing lock file: Permission denied

After connecting my NAS drive with the mount command in the nashome directory, the following error occurs, when trying to edit or create any file in the mounted directory tree: [ Error writing lock file ./.index.html.swp: Permission denied ] Error…
0
votes
0 answers

How to add swap memory in Ec2 which is created using AWS Batch?

We have batch job which uses Ec2 and the RAM of the ec2 is being over utilised whereas CPU is not utilised much,Hence I want to attach a 100 GB of EBS to the EC2 and add a swap space. I need to attach a 100GB EBS & create a swap space in Ec2 in…
0
votes
0 answers

Python Pandas SQL Query Never Ending

I recently used Pandas in Python to run an SQL query to create a dataframe which I subsequently write to disk with Pickle. My program has gotten stuck at the pd.read_sql_query(sql) step for over 14 hours now, and I'm not sure what's wrong. I looked…
joejoejoejoe4
  • 1,206
  • 1
  • 18
  • 38
0
votes
1 answer

I need docker instance to NOT utilize the host swap

My server build uses a lot of swap per container and I am told that docker uses the host swap for instances. My host ssd is only 256gb and is only intended to run the OS. I have setup a zfs pool (9 Tb and growing...) for docker and wanted it to use…
Next Layer
  • 11
  • 1
0
votes
0 answers

Make a copy of swapfile.sys to new location [File not found error]

In PowerShell, I am trying to make a copy of the Windows swapfile (swapfile.sys) PS C:\> Copy-Item swapfile.sys -Destination C:\Users\ However, I recieve the error: Copy-Item : Cannot find path 'C:\swapfile.sys' because it does not exist. At line:1…
William Baker Morrison
  • 1,642
  • 4
  • 21
  • 33
0
votes
3 answers

Can I create an array exceeding RAM, if I have enough swap memory?

Let's say I have 8 Gigabytes of RAM and 16 Gigabytes of swap memory. Can I allocate a 20 Gigabyte array there in C? If yes, how is it possible? What would that memory layout look like?
Finn
  • 37
  • 5
0
votes
1 answer

How to get vim to list the PIDs of selected files that are presently being edited, avoiding recovery mode, and not list all the other files

The vim manual page contains two similar -r type commands. I'll give more background below, this question is really how to invoke the first type of -r to list the swap files, but avoid the second -r that invokes recovery -r List swap…
David Dyck
  • 130
  • 1
  • 6
0
votes
1 answer

How to create swap partition/file on a Yocto distribution

I'm trying to create a swap partition/file on my board where a core-image-minimal has been installed. The fdisk -l command doesn't show any partition thus I'm not able to figure out which block device I need to use to create a new…
Antonio Santoro
  • 827
  • 1
  • 11
  • 29
0
votes
2 answers

Move REDIS data between memory and disk

REDIS is a memory database, it's easy to fill the entire memory though. My question is, how can I expand the space by storing some data on disk? Can the memory be expanded with GNU/Linux swap? What's the easiest and most effective option?
Whiskey
  • 19
  • 3
0
votes
1 answer

R eats up all RAM, then all swap, and the suddenly closes

I am using the mediation package to run a mediation analysis. But when I call the mediate function, R eats up all RAM, then it eats up all swap, and then RStudio suddenly closes. The same happens if I call Rscript from the terminal, and the terminal…
robertspierre
  • 3,218
  • 2
  • 31
  • 46
0
votes
0 answers

Is there a way to force a hard RAM-usage limit for R, resulting in it using swap space after it is hit?

There is a memory-management process on a server I use that kills processes that go above a certain limit. There are very large data files that must be loaded in their entirety, but doing so goes above the memory limit. Is there a way to force R to…
Max Candocia
  • 4,294
  • 35
  • 58
0
votes
0 answers

configuring a swap space in a guest running under qemu

I have followed this link to set up a kernel development environment. In summary, I am running a Linux kernel 5.11.5 with a custom root file system. I am using buildroot to creating a root file system. Now, the filesystem image size is fixed so I'm…
Vimal Patel
  • 211
  • 2
  • 9
0
votes
1 answer

CentOS 7: LVM swap extension not shown by the "free" command

I'm running a CentOS 7 guest on a VirtualBox 6 on Windows. The result of the free command is as follows: $ free -h total used free shared buff/cache available Mem: 15G 2.4G 11G …
Seymour Glass
  • 81
  • 2
  • 15