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

learn more… | top users | synonyms

0
votes
0answers
19 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
71 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 ...
0
votes
1answer
60 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
424 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 ...
1
vote
1answer
94 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?
0
votes
2answers
113 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
310 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 ...
0
votes
0answers
24 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 ...
0
votes
2answers
216 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
192 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 ...
0
votes
2answers
263 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. ...
1
vote
2answers
6k 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 ...
2
votes
1answer
630 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
250 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
539 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 ...
0
votes
1answer
32 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
1answer
96 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
1answer
104 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 ...
3
votes
0answers
48 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 ...
1
vote
1answer
2k 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
45 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
68 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 ...
0
votes
1answer
299 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
1k 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
14k 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 ...
1
vote
2answers
91 views

How can I reduce the memory

How can I reduce the memory allocated for a given program from the terminal? what I mean is if I have a a.out executable file, how can I make it run in a less memory from the terminal ( with out ...
5
votes
1answer
753 views

How to set a memory limit for a specific process?

I tried to execute mpiexec -16 ... on a 384 GB RAM server, but it induced OOM Killer and was aborted. How can I set a memory limit for mpiexec execution? I know ulimit, but it might affect other ...
0
votes
1answer
3k views

Why does ubuntu not seem to release memory?

I am working with apache2+php and other web server apps. I have monitor as session connecting to a web server. RAM memory is full. But when disconnecting a session, it does not free the RAM memory. ...
0
votes
2answers
144 views

Can't find where memory is being used

I'm still a novice with Ubuntu, and have converted an old Toshiba L655D to use the OS. I have 3gb of memory installed, and this appears on on the GRUB memtest. But within Ubuntu, looking at free -m ...
1
vote
1answer
79 views

ubuntu server crash after build.sh run

I have a build server with Ubuntu. And in my source code there is typical build.sh to invoke the make file in order to compile the source code. But suddenly the server crashed and I found the below ...
0
votes
1answer
6k views

How to clean up dev/sda1 as it's full

I've been doing jmeter tests and have had a few OutOfMemoryExceptions, so I've bumped up the heap memory in JMeter. But now it seems I can't run anymore tests as it says I'm using 94.9% of 14Gb. When ...
1
vote
3answers
787 views

Like “PerfMon” in Windows do we have something similar in Ubuntu?

If I want to capture performance log of a Ubuntu (or any other Linux Distro) Server/Workstation for a period of time, how would I do that? In Windows, I use something called PERFMON.MSC (LOGMAN.EXE), ...
0
votes
1answer
380 views

chrome memory and cpu footprint

I've searched the forums for an answer but I couldn't find quite the answer I was looking for [1] , so I thought I it could as well be of interest to more people around here. I carry out a big part ...
2
votes
0answers
88 views

Weird java memory allocation

My task manager shows that for my java process memory allocated is 16777216.0 TB (yep, TB). It happens when programming swing application with eclipse 3.8. Oh, and my distro is lubuntu 14.04. Nothing ...
7
votes
2answers
293 views

Why do top and lxtask show different degrees of memory usage?

Why does top show 730MB of RAM used, but the "Task Manager" shows 190MB? Some more information on my system: Lubuntu 14.04 VirtualBox Screenshots:
2
votes
1answer
2k views

Rsync - memory usage

I am running on Xubuntu 14.04 and experiencing high memory usage of rsync. With a fresh start, the system is OK. I have rsync running in a cronjob, after/during rsync memory usage increases and stays ...
1
vote
2answers
280 views

why is all my memory used up less than 24 hours after reboot?

Running Ubuntu Server 12.04, meminfo shows pretty much all memory utilized: $ cat /proc/meminfo MemTotal: 8173180 kB MemFree: 139556 kB Buffers: 1146204 kB Cached: ...
0
votes
1answer
67 views

Ubuntu 12.04 LTS doesn't recognize full memory?

I have Pentium 4 Desktop, Intel D915PGN mother board with a full 4 GB of ram, but my Ubuntu 12.04 64 bit only recognize 3 GB of ram, do you guys have any suggestion? Thank you
0
votes
1answer
94 views

Memory is not released from swap when a program is terminated

Memory and swap are both near maximum. I shut down all the processes I initiated. The memory and swap are still both near maximum. Is there a way to release the memory used by a terminated program? ...
1
vote
1answer
427 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 ...
2
votes
1answer
1k views

Memory is taken up by “invisible” threads

Xubuntu Saucy with 4GB RAM. When the computer is restarted and immediately after login, about 500 MB of RAM is taken according to free -m. Then I run some programs and memory usage goes above 3 GM. ...
1
vote
1answer
368 views

Is there a maximum swap partition size for 12.04, 64 bit

I am running 64 bit ubuntu 12.04 on HP Envy Spectre ultrabook, with 4GB of RAM. I have been running into problems with python code which uses RAM very inefficiently, see e.g. here, causing my code to ...
1
vote
1answer
198 views

Forgot to add swap memory during installation [duplicate]

In my ignorance I didn't add swap memory to my install. So my question is, can I work without it and if not how can I add it to my existing install? Love to get some feedback!
0
votes
1answer
299 views

Running an executable with fixed execution-time and memory limit and getting exit-code

What is the best way to run an executable with execution-time and memory(RAM) limit (e.g. 2.5 seconds and 32768 kB)? Also I need to get the exit-code if it exits without violating time and memory ...
0
votes
0answers
44 views

Setting Max Connections in MySQL server Globally [duplicate]

I installed my UBUNTU 12.04.4 LTS X64 yesterday and didn't installed anything except mysql-server and mysql-client. But htop showing 20 mysqld identical processes. *--Process----- MEM%---VIRT --- ...
3
votes
1answer
173 views

Will swap space auto-adjust when I upgrade my physical memory?

When I installed Ubuntu 13.10 I just ran through the default setup. Since then, I have decided to upgrade my physical memory. My question is, Will Ubuntu auto-adjust the default swap size to match ...
3
votes
1answer
320 views

How do I determine which process is using more physical memory?

I've already run free -t -m and ps aux --sort -rss, but I don't understand why there's a difference between the output of these two commands regarding the amount of total physical memory currently ...
0
votes
1answer
214 views

How much memory is free? [duplicate]

How much memory is free? From my understanding i have 1GB of memory, and it says free is 71MB? But why does it say that i have 536 free in buffers? So am I really using all my ram or not? ...
4
votes
2answers
398 views

How to use free -m to get memory usage for all users

I typed the free command to get the memory usage as follows : free -m output: I want to use this command to get the same info but for all users for example : I used this command .. because ...
2
votes
1answer
3k views

How to calculate the average of cpu usage and memory usage over a period of time in ubuntu

I have to generate reports for the following : 1- cpu usage. 2- memory usage. The generated reports must be looks like the following forms : I've tried with more than one command to get ...