Questions tagged [swapfile]

85 questions
0
votes
0 answers

Windows swap file offset to page entry translation

How can i determine by sector(or cluster) number in windows swap file what page is swapped out to this disk sectors range? Of course, if this sectors(cluster) isn't mapped to any page and it's free i want to know it too. May be i can do this with…
0
votes
0 answers

swapoff/swapon when script is running

Sometime the swap memory hit 100% and the running script (PHP) is considerably slower. I'd like to ask in which scenario it is okay to run the command swapoff -a ; swapon -a to clear up the swap memory so that the running script is not affected,…
aye
  • 301
  • 2
  • 16
0
votes
6 answers

How to use virtual memory (swap in linux file system ) in java web programming

I work in java web application . In some section i use very huge tree variable that save and persist in memory (RAM) . Can i migrate this to virtual memory (swap) . note : huge tree consist name and email for all user that use in suggestion Ajax…
Sajad Bahmani
  • 17,325
  • 27
  • 86
  • 108
0
votes
0 answers

Can't use more than about 1.5 GB of my 4 GB RAM for a simple sort

I'm using a circa summer 2007 MacBook Pro (x86-64) with a 32KB L1 (I think), 4MB L2, and 4GB RAM; I'm running OS X 10.6.8. I'm writing a standard radix sort in C++: it copies from one array to another and back again as it sorts (so the memory used…
Daniel
  • 1,861
  • 1
  • 16
  • 24
-1
votes
0 answers

How to delete, add and mount SWAP files?

So I got SWAP file list like this on my Jetson Nano Linux for Tegra (L4T): My swap files How to delete the /swapfile partition? And I just made a 3 GB partition of swap, is that a correct way? If yes, how to enable it? It looks like the 3 GB SWAP…
Rafli_067
  • 1
  • 2
-1
votes
1 answer

How To implement swapfile cross operating system

There are use cases where I can't have a lot of ram, and sometimes due to docker based services doesn't always provide more than 512mb/1gb of ram, or if I run multiple rust based gui apps and if each take 100mb of ram normally, how can I implement a…
Ren Hiyama
  • 383
  • 2
  • 13
-1
votes
1 answer

Make java understand that swap exists, and encourage him to use it

So, I have a java jar to run on my raspberry pi, and it requires a lot of memory. I have set up 2 gb swap on an external usb flash drive. But when I start the jar with -Xmx2048M, it says that it could not reserve enough space for 2097152KB object…
-1
votes
2 answers

Computer freezes when running compilation

OS: Ubuntu 14.04, 4GB ram, i5, 1.5 GB swap space I'm running a compilation command ./build.sh , however, the computer keeps on freezing during running it. I checked the RAM, CPU and Swap Space usage during the compilation and all of them are…
-1
votes
1 answer

Swap related memory problem in Ubuntu

When I run a top and get it to show swap usage, I get the following output. However, I have disabled swap with swapoff -a prior to starting firefox. What is shown in the SWAP field here then? When I do cat /proc/meminfo, I get a nonzero value for a…
nakiya
  • 14,063
  • 21
  • 79
  • 118
-1
votes
1 answer

sublime text 2 concurrent access on files

Im using Sublime text 2 with plugin SFTP to edit files on server. It there an option to raise some kinda flag when a file Im trying to edit is already open by somone else ? (using swape file or something )
Alucard
  • 1,814
  • 1
  • 21
  • 33
1 2 3 4 5
6