New answers tagged

0

Increasing swap space is a temporary solution and it might not solve all your problems. Getting more RAM would solve your problem. One thing important to consider: Using Swap space on SSD's has a caveat. SSD's are faster but on the down side their life time is shorter then traditional hard disks. Their life span measured by count of updates/writes on the ...


0

Use zswap if you have swap portions on HDD/SSD. Tho module zram is without swap portions on HDD/SSD, so Hakala's answer is not applicable. See the thread zram vs zswap vs zcache Ultimate guide: when to use which one. Add the following lines to /etc/rc.local modprobe zswap


0

I am using Android Studio on Xubuntu 16.04 too. This is the case on my system. It's equipped with 4 GB RAM. No matter what I do, if I don't close all tabs on Chrome except for one only, Android Studio is out of the question. It will run ok but when developing starts, it eats up available memory extremely fast. Using android emulator with Chrome using ...


0

It depends on the medium where you are swapping to. If it's a hard disk, definitely upgrade RAM, because swapping from disk or swapping to disk is very slow. If you are swapping to an SSD, it shouldn't be so bad, because most it will be the Chrome tabs that will be most likely swapped. It will make your Chrome choppy, but web pages more mostly read, ...


1

OK, quite a list you have there. Let me respond inline How to Apply the Better Error-handling of Error trapping here? See my script for the example in the source. Thread How to Do Error-trapping and Swapoff if Error/Warning?. I don't like the concept of this script at all. That you have an external harddrive that you're trying to use as swap is just a ...


1

This is how you can expand your SWAP memory using an external hard drive: First, write down your actual SWAP memory by running: free -m Second, have at hand the folder of your HDD. It should be something like /media/myhdd. Decide the size of extra SWAP you want to add. Let's say, X GB. Calculate the amount of bytes that quantity is. Using GB, this is: Y=...


0

I have had issues with say my laptop with slowdowns and swap memory being used up at a high percentage, now there is a way to do so in the terminal, and even as a cron-job, i have done the latter for every 15 mins, and it does help, with still an occasional slow down depending on usage of my laptop. Depending on how you would like to do it, look at this link ...


1

I don't really know much about Matlab but it looks to me like others have solve your problem by having Matlab use it's own page file. It might be worth you trouble to check out the thread on stckoverflow HERE


0

I would at least test how well compressed RAM (zram kernel module, available since kernel version 3.14) performs. Following archlinux wiki instructions modprobe zram echo lz4 > /sys/block/zram0/comp_algorithm echo 4G > /sys/block/zram0/disksize mkswap --label zram0 /dev/zram0 swapon --priority 100 /dev/zram0 My guess is that compressed RAM should ...


10

You cannot dedicate swap for a software. What you can do is create a shell script that creates a swap, start MATLAB, and delete the swap when MATLAB exits. Here's an example script which creates a swap of 10Mb in the /tmp directory, mounts it, starts R (I don't have matlab), wait R exits, umount the swap file and delete it. Please note that: - you will ...


1

To investigate the cause of the boot duration, please create a boot chart. For the slow graphics performance you should install Nvidia's proprietary graphics drivers from the Additional Drivers application. Your RAM is definitely being used. A lack of RAM may lead to performance issue but 4 GiB should be plenty. If you're still concerned look at the output ...


0

To answer your question regarding the Toshiba Satellite Radius 11 L15W-B1120, I have the exact machine, and there seems to be an incompatibility somewhere in the kernels from 14.04lts, 14.10, 15.04lts, 15.10, and 16.04lts. Good news the wireless card works out of the box, but it will cut in and out until you disable power management on the wireless adapter. ...


3

Use sudo lshw -c memory without the -short option. Here's an example output: $ sudo lshw -c memory *-memory description: System Memory physical id: c slot: System board or motherboard size: 12GiB *-bank:0 description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns) product: ACR16D3LS1KNG/8G vendor: ...


0

Unfortuntately, RAM doesn't impact speed or performance until you're running a lot of applications/programs. It might have to do with the program you're using, or your computer in general. I don't think giving it more RAM will help, but you can definitely try and see if it works.


0

I have 16GB of ram and ubuntu 16.04 and i don't have this issue. Maybe you have some extra compiz plugins enabled. you can reset your compiz config to the default by running this command dconf reset -f /org/compiz/


0

Indeed this seems to be a bug with the lshw shipped with Ubuntu 15.10 and 16.04. Similar to Kat Amsteram's answer, I fixed the issue by running: sudo apt-get source lshw sudo make sudo make install


0

Turns out that I didn't have free memory after all, the 200 MB file was somehow taking up 1.1 GB of space. I fixed it by increased the memory allowance for my virtual machine.


1

You can use lshw to display memory information: sudo lshw -c memory It will display RAM as well as CPU caches, but you can quickly find the information you want. One example memory module could look like this: *-bank:0 description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns) product: ACR16D3LS1KNG/8G vendor: Kingston physical id: ...


2

This will show the number of open files per process ID: cd /proc for processid in [0-9]* do echo "Process ID = $processid: $(ls /proc/$processid/fd/ | wc -l) file descriptors" done (save and execute with sudo). Then you can track down what that process ID belongs to.



Top 50 recent answers are included