Questions related to memory usage related to RAM, swap; issues expansion, in Ubuntu.

learn more… | top users | synonyms

0
votes
0answers
17 views

Memory leaks with zeitgeist-fts. It takes 1.2 GiB of memory

I have a memory leak with zeitgeist-fts which takes up 1.2 GiB of memory. A screen capture can be found here: When I kill process, memory is released and everything is working fine. Then again, ...
2
votes
0answers
24 views

“-/+ buffers/cache memory” is zero

i have an OpenVZ VPS with ubuntu server 14.04.2 and i can access to a SolusVM control panel. Recently, "memory usage" is always 0 KB, and only "vswap usage" shows real swap usage. if i run free -k i ...
1
vote
2answers
87 views

how to see CPU and memory usage for a program after run it

I wrote a shell script and run it with terminal.script call another programs to run and have some child process. how can i see TOTAL memory and CPU used for that script after run it ? more generaly ...
0
votes
5answers
847 views

How to log memory usage per minute on Ubuntu Server?

I checked few programs such as htop or top command but couldn't find any features for logging per minute. Is there a way to do that for tracking memory issues ? edit: I was using linode and decided ...
77
votes
5answers
44k views

Why is swap being used even though I have plenty of free RAM?

I thought the whole essence of swap was to act as a temporary storage safety net when RAM was full but my swap partition is constantly being used even though I sometimes have as much as 3GB free RAM. ...
0
votes
0answers
33 views

Why my memory is shooting to nearly 100 percent which makes my laptop unable to work?

I am a newbie. I am currently using xubuntu 14.04 on my old dell laptop (~8-9 years old). When ever i watch any video on YouTube or similar site the video is not coming properly. I am not able to do ...
0
votes
0answers
12 views

Ubuntu VM shows different RAM then what vCenter is showing

I created a 64-bit VM with 4 GB of RAM and installed Ubuntu 14.04 64-bit The command, free –g, shows a total of 3GB The details screen on the desktop shows 3.9 GB vCenter Server Performance Monitor ...
0
votes
0answers
12 views

How can an application be allocated to multiple core CPU's?

In Ubuntu 14.10 64-bit, running femm42 finite element analysis software via wine. The solver reports "out of memory" when it attempts to create/load the "mesh", which is done through embedded Triangle ...
3
votes
3answers
5k views

Why is my /dev/loop0 showing full?

I have sufficent memory , but somehow I get my /dev/loop0 showing usage of 9 GB here's my df-h. Filesystem Size Used Avail Use% Mounted on /dev/loop0 12G 10G 1.4G 88% / udev ...
18
votes
5answers
9k views

How to know each TAB memory usage ?

Hi, is it possible to know that, if Firefox or any browser is opened, whats the amount of memory taken up by each TAB of web-browser ? I am just curious to know.
0
votes
0answers
27 views

Jave heap space error appearing Linux ubuntu 12.04

I'm running my program and this error appears after some time java.lang.OutOfMemoryError: Java heap space at HadoopMyapp.HistogramPair.<init>(HistogramPair.java:25) at ...
0
votes
0answers
26 views

java.lang.OutOfMemoryError: Java heap space

I'm using Hadoop in my application, but just before the program exits I get this error java.lang.OutOfMemoryError: Java heap space I already modified the mapred-site.xml and added this property to it ...
0
votes
1answer
38 views

How to free up my laptop's RAM?

I have an old DELL laptop with 2GB of RAM and Ubuntu 14.04 (64-bit) as its OS. Many times I am out of RAM and thus every thing goes very slow! I think there is many background programs (services or ...
2
votes
1answer
121 views

How to prevent running programs from consuming all RAM and CPU?

I have an annoying problem with Ubuntu's resource management. Frequently it happens that some programs such as Google Chrome browser consume 100% CPU and most of my laptops memory. I want to have a ...
0
votes
0answers
35 views

What in install.sh in Kubuntu 14.04?

My laptop fan is sometimes loud when running Kubuntu 14.04, I guess it is because of one process taking 12-13% of CPU memory. I am new with KDE/Kubuntu. What is that? Should it be running like ...
0
votes
1answer
22 views

Creating a script involving the memory usage of processes

How can one create a bash script that displays the sum of memory usage for the processes which have PID<100?
51
votes
7answers
91k views

How can I monitor the memory usage?

I have used top to see the memory usage at the moment. But I would like to monitor the memory usage over a period of time. E.g start monitoring and then execute a few commands, and final stop the ...
0
votes
0answers
13 views

How much of the java program does Ubuntu memory-share between programs

For a given java version, say Oracle Java 7, how much does Ubuntu fetch the Java runtime modules (and linked libraries) from disk for each JVM, v.s. holding a copy of them in shared memory to be ...
12
votes
3answers
1k views

How to prevent so many instances of apt-check running?

I have an Ubuntu 12.04 server that just crashed because of a very obvious cause: 30+ of apt-check processes consuming all memory, the OOM killer kicking in, killing vital services. I'm not sure where ...
4
votes
1answer
287 views

Where'd all my memory go? [closed]

After using the laptop for several days without rebooting, I start to get into awful swapping problems (combined with very poor responsiveness during IO operations, swapping 10mb could mean that the ...
0
votes
2answers
39 views

Swappiness for aggressive swapping

I want to configure the Ubuntu 14.04 with aggressive swapping behavior. I'm using Linux kernel 3.14. I modified the swappiness using the following command. echo 100 > /proc/sys/vm/swappiness ...
-4
votes
1answer
107 views

I can't use all my RAM!

I know somebody will mark this as duplicate, but I can't find the answer, so I'm asking. I have 3GB of RAM and Ubuntu says: Memory 2.9 GiB. No, it is NOT my onboard graphics card, because it uses only ...
5
votes
1answer
916 views

How can I find the memory usage on my GPU?

Previously I was checking the memory usage on my GPU with the following command: nvidia-settings -q all | grep Memory I am processing some scientific data on my GPU with numpy and theano. I was ...
0
votes
0answers
23 views

Increase Virtual Machine's Hard Disk Memory [duplicate]

Im running Ubuntu 12.04 in my Virtual Box. An error occurs as I copy files using the command below: sudo cp -R /dspace/webapps/* /var/lib/tomcat6/webapps This is the error : cp: cannot create ...
17
votes
3answers
11k views

Lowering Compiz memory usage

I have been following the updates that appear every week in how they affect the performance and resource usage of Compiz since I installed 11.10 (Right now I am testing 12.04 and 14.04). For what I ...
0
votes
0answers
21 views

low memory dialog at boot up time

My Ubuntu 14.04 laptop has the below partions /dev/sda1 ext4 9.3G 8.6G 227M 98% / none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup udev devtmpfs 3.9G 4.0K 3.9G ...
2
votes
1answer
188 views

unity-music-daemon uses large amount of memory

When I boot my Ubuntu 13.04 up, I noticed that my fans goes crazy and when I had a glanced at System Monitor, I saw that a process called unity-music-daemon is using a large amount of memory and CPU. ...
0
votes
2answers
85 views

Why can't my laptop use more than 85% of my RAM?

I have 1GB RAM in my notebook (HP Compaq 6735s), but the video card is using 256MB, so I'm left with 768MB RAM. However, whenever my system starts using more than 85% of memory, it becomes unusable. ...
0
votes
1answer
83 views

How to read memory usage?

Well I'm pretty confused with the memory usage in ubuntu (probably linux in general) TL;DR: Memory usage is 70%. When ich check top, htop, ps aux etc. I can see there should be a memory usage of ...
21
votes
4answers
21k views

How do you find out which program is using too much memory?

Ubuntu has been crashing on me recently. I think its because it runs out of memory so I ran the free -m command and found that my memory usage was really high. So then, i ran top to find the culprit, ...
1
vote
2answers
6k views

Chrome suddenly using too much memory, what's wrong?

I just upgraded my RAM to double what it used to have and for a couple of weeks everything was running great, but now Chrome is eating all of it, I hit 90% use with only one window and <50 tabs ...
0
votes
1answer
61 views

How do I prioritise physical memory for a particular process?

I have a process which is consuming roughly 13.5GB on a machine with 16GB running Ubuntu 14.04. The available memory according to System Monitor is 15.6GiB, of which 1.7GiB is reported as being used ...
0
votes
2answers
93 views

Understand free command with top command

I have a doubt. I start ubuntu and run free command. I will get the total free space available. Let say it as 100MB. Now I run a few applications. So after some time, I again run the free command. ...
0
votes
2answers
910 views

How to increase JAVA Heap Size?

I need to increase the default java heap size to get OpenNMS Linkd service running smoothly, and fortunately I have 4/5 of my total installed memory free at any given time even when their is maximum ...
0
votes
0answers
85 views

Total RAM discrepancy: who's right?

I started with two 1gb sticks of top quality fast (at the time) DDR2 RAM, rated to at least 800mhz, possible 1000. I've since added two 2gb sticks, making 6gb total. System Profiles (aka cat ...
2
votes
1answer
207 views

Very slow after idle for some hours in 14.04

I had 12.04 without problems, but since I upgraded to 14.04, I'm noting the system is very slow for UI tasks, and when I get to work the next day (computer stays on), and I type the passwords, it ...
1
vote
0answers
93 views

TuxOnIce hibernate error “seeking to free XXXXMB of memory” on Ubuntu 14.04

My desktop PC did not support for hibernate on Ubuntu 14.04. Therefore, I installed TuxOnIce (kernale 3.13.0-36-generic-tuxonice) to enable hibernate feature. Now, the hibernate feature works fine on ...
0
votes
1answer
89 views

mysqld is suddenly taking too much memory and my laptop is getting hotter

I have been using ubuntu 14.04 for a while but really new to linux command line stuffs. I mainly use it for Java/android/web development purposes. Sometimes I notice my laptop gets more hot than ...
2
votes
1answer
72 views

How to find out which programs are taking up alot of memory?

I've been getting messages that I have exceeded my quota limits. I am new to Linux and am not sure what to do. With windows, I could easily just go to Control panel, add/remove programs, and uninstall ...
0
votes
0answers
51 views

How to find and report memory leak

When I use any graphics or diagram editing software like Gimp or Dia (and I have tried a couple more) I suddenly find the cache sucking up all my free RAM and cache which slows the system down to a ...
0
votes
1answer
30 views

find is using a LOT of resources - how do I find out why?

My Ubuntu 12.04 LTS system has been running very slow lately. I keep having to reboot it, and then within 24 hours it's slowed down again. I've gone in and run top and what keeps coming up at the ...
2
votes
2answers
317 views

Deactivating swap file without any computer freeze

I'm currently coding on my laptop: 4 gb of rams, never using more than 2.5-3gb but at times, I'll mess up my programs, run them with memory leaks and they'll make the computer freeze when trying to ...
2
votes
0answers
40 views

Is it possible to suspend applications?

The main idea is to add a "suspend" button to the title(behind the "quit" cross button) of the application window that will copy the memory taken by application to swap/local storage with pid ...
0
votes
1answer
863 views

Ubuntu 14 too high memory usage [duplicate]

I had browse for this issue in the forums, but the answers I found are not concrete or refers to older version of ubuntu. I am using ubuntu 14 (3.13.0-35-generic #62-Ubuntu x86_64 x86_64 x86_64) ...
-1
votes
1answer
30 views

Why does ubuntu not protect itself against memory shortage

If you create a very simple script, simply pointing at itself ie: /home/user/loop.sh and then executes the script in terminal (as regular user), it starts to consume more and more memory, until the ...
0
votes
1answer
58 views

RAM vs UBUNTU probem [duplicate]

I have a problem with Ubuntu's memory management. I am running 32-bit Ubuntu 13.10. My system is only running Chromium. However, when I run free -m, it returns: total used ...
1
vote
1answer
183 views

How do I get smem to output useful results?

I recently installed smem on my ubuntu server with: $ sudo apt-get install smem It was installed correctly without errors. But when I launch it I don't get any useful information about my ...
0
votes
1answer
150 views

I only have 1GB of ram, what can I do to improve the performance on my 32-bit 14.04 system? [duplicate]

I'm running a fresh install of Ubuntu on an old iMac. It was going painfully slow on OSX so I wiped that and installed Ubuntu overtop of it hoping it would speed things up a bit. I'm not going to be ...
1
vote
1answer
461 views

What is the difference between free and vmstat commands?

vmstat output: procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 1 1 0 1001568 84736 ...
0
votes
2answers
4k views

What swapfile size to make? I have 4GB RAM [duplicate]

Very often I am out of memory and I noticed that I didn't have swapfile... What size should I choose? I have 4 RAM. All programs which I use are: Firefox, Thunderbird, Grive, Android Studio, that's ...